Index.php 437 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace app\index\controller;
  3. use app\common\controller\Frontend;
  4. use app\common\model\UserOrder;
  5. use app\service\UserOrderService;
  6. use think\helper\Str;
  7. class Index extends Frontend
  8. {
  9. protected $noNeedLogin = '*';
  10. protected $noNeedRight = '*';
  11. protected $layout = '';
  12. public function index()
  13. {
  14. return $this->view->fetch();
  15. }
  16. public function test(UserOrderService $orderService){
  17. }
  18. }