瀏覽代碼

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

sunxbiao 1 年之前
父節點
當前提交
d7a29a1111
共有 1 個文件被更改,包括 6 次插入 和 2 次删除
  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);