合并分支 'lyh-server' 到 'master'
gxai 查看合并请求 !1869
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -173,7 +173,7 @@ class RecommendedSuppliers extends Command | @@ -173,7 +173,7 @@ class RecommendedSuppliers extends Command | ||
| 173 | $purchaserModel->add($saveData); | 173 | $purchaserModel->add($saveData); |
| 174 | $this->savePurchaserInfo($project_id,$keyword,$res['data']); | 174 | $this->savePurchaserInfo($project_id,$keyword,$res['data']); |
| 175 | }else{ | 175 | }else{ |
| 176 | - if(isset($res['code']) && $res['code'] == 403){ | 176 | + if(!isset($res['code']) || $res['code'] != 200){ |
| 177 | echo '请求错误,跳过当前项目。避免进入死循环'.PHP_EOL; | 177 | echo '请求错误,跳过当前项目。避免进入死循环'.PHP_EOL; |
| 178 | return true; | 178 | return true; |
| 179 | } | 179 | } |
-
请 注册 或 登录 后发表评论