Selaa lähdekoodia

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

sunxbiao 11 kuukautta sitten
vanhempi
commit
d7a29a1111
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      app/controller/api/store/product/Jd.php

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

@@ -237,8 +237,12 @@ class Jd extends BaseController
237
         $_cid = request()->param('cid', '');
237
         $_cid = request()->param('cid', '');
238
 
238
 
239
         [$page, $limit] = $this->getPage();
239
         [$page, $limit] = $this->getPage();
240
-        $uid = $this->request->uid();
241
-        TaoKe::set_third_history($uid,$keyword);
240
+        try {
241
+            $uid = $this->request->uid();
242
+            TaoKe::set_third_history($uid, $keyword);
243
+        } catch (\Exception $exception) {
244
+
245
+        }
242
 
246
 
243
         $goods_obj = Db::name('third_party_goods')
247
         $goods_obj = Db::name('third_party_goods')
244
             -> where('type',2);
248
             -> where('type',2);