正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -169,9 +169,9 @@ class RecommendedSuppliers extends Command | @@ -169,9 +169,9 @@ class RecommendedSuppliers extends Command | ||
| 169 | 'keyword'=>$keyword, | 169 | 'keyword'=>$keyword, |
| 170 | 'data'=>json_encode($res['data']) | 170 | 'data'=>json_encode($res['data']) |
| 171 | ]; | 171 | ]; |
| 172 | - $purchaserModel = new Purchaser(); | ||
| 173 | - $purchaserModel->add($saveData); | ||
| 174 | if(!empty($res['data'])){ | 172 | if(!empty($res['data'])){ |
| 173 | + $purchaserModel = new Purchaser(); | ||
| 174 | + $purchaserModel->add($saveData); | ||
| 175 | $this->savePurchaserInfo($project_id,$keyword,$res['data']); | 175 | $this->savePurchaserInfo($project_id,$keyword,$res['data']); |
| 176 | } | 176 | } |
| 177 | }else{ | 177 | }else{ |
-
请 注册 或 登录 后发表评论