|
...
|
...
|
@@ -169,9 +169,9 @@ class RecommendedSuppliers extends Command |
|
|
|
'keyword'=>$keyword,
|
|
|
|
'data'=>json_encode($res['data'])
|
|
|
|
];
|
|
|
|
$purchaserModel = new Purchaser();
|
|
|
|
$purchaserModel->add($saveData);
|
|
|
|
if(!empty($res['data'])){
|
|
|
|
$purchaserModel = new Purchaser();
|
|
|
|
$purchaserModel->add($saveData);
|
|
|
|
$this->savePurchaserInfo($project_id,$keyword,$res['data']);
|
|
|
|
}
|
|
|
|
}else{
|
...
|
...
|
|