|
...
|
...
|
@@ -170,10 +170,8 @@ class RecommendedSuppliers extends Command |
|
|
|
];
|
|
|
|
$purchaserModel = new Purchaser();
|
|
|
|
$purchaserModel->add($saveData);
|
|
|
|
if(isset($res['code']) && $res['code'] == 200){
|
|
|
|
if(!empty($res['data'])){
|
|
|
|
$this->savePurchaserInfo($project_id,$keyword,$res['data']);
|
|
|
|
}
|
|
|
|
if(isset($res['code']) && $res['code'] == 200 && !empty($res['data'])){
|
|
|
|
$this->savePurchaserInfo($project_id,$keyword,$res['data']);
|
|
|
|
}else{
|
|
|
|
echo '未正常返回数据,跳过项目'.PHP_EOL;
|
|
|
|
}
|
...
|
...
|
|