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

客户端-京东服务商从京推推换成官方

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

+ 2 - 2
app/controller/api/store/product/Jd.php

@@ -12,7 +12,7 @@ use think\exception\ValidateException;
12 12
 use think\facade\Db;
13 13
 use think\facade\Log;
14 14
 
15
-class Jd
15
+class Jd extends BaseController
16 16
 {
17 17
     public $appid = '';
18 18
     public $key = '';
@@ -24,7 +24,7 @@ class Jd
24 24
     public function __construct(App $app)
25 25
     {
26 26
 
27
-        // parent::__construct($app);
27
+        parent::__construct($app);
28 28
         $this->appid = '4101490811';
29 29
         $this->key = 'a7c43c21f3e156d2fd41dfbe884b9f62592ceb03b9f199c0811c82e35be53c0580a2638a7af39e74';
30 30
         $this->appKey = 'e99703d01cbb6a2e48a8a34f19af9d87';