作者 李宇航

合并分支 'lyh-server' 到 'master'

gxai



查看合并请求 !1869
@@ -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 }