Sfoglia il codice sorgente

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

sunxbiao 11 mesi fa
parent
commit
d7a29a1111
1 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  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 237
         $_cid = request()->param('cid', '');
238 238
 
239 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 247
         $goods_obj = Db::name('third_party_goods')
244 248
             -> where('type',2);