Преглед на файлове

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

sunxbiao преди 1 година
родител
ревизия
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
     /**