Просмотр исходного кода

优化用户下单方法-进行中

sunxbiao месяцев назад: 11
Родитель
Сommit
c240d6832d
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      app/controller/api/Auth.php

+ 4 - 4
app/controller/api/Auth.php

@@ -63,7 +63,7 @@ use think\Response;
63 63
  * @author xaboy
64 64
  * @day 2020-05-06
65 65
  */
66
-class Auth
66
+class Auth extends BaseController
67 67
 {
68 68
     use HaikeApiRequest;
69 69
     use HuiPay;
@@ -72,9 +72,9 @@ class Auth
72 72
     protected $source;
73 73
     public function __construct(App $app)
74 74
     {
75
-        // parent::__construct($app);
76
-        // $this->source = $this->request->header('source');
77
-        // $this->merId =  $this->request->header('merId');
75
+        parent::__construct($app);
76
+        $this->source = $this->request->header('source');
77
+        $this->merId =  $this->request->header('merId');
78 78
     }
79 79
 
80 80
     /**