|
...
|
...
|
@@ -99,6 +99,7 @@ class RecommendedSuppliers extends Command |
|
|
|
$res = http_post($url,json_encode($param));
|
|
|
|
echo date('Y-m-d H:i:s') . json_encode($res) . PHP_EOL;
|
|
|
|
if(!empty($res) && $res['code'] == 200 && !empty($res['data'])){
|
|
|
|
//保存多条数据
|
|
|
|
$saveData = [
|
|
|
|
'project_id'=>$project_id,
|
|
|
|
'keyword'=>$keyword,
|
|
...
|
...
|
@@ -109,4 +110,15 @@ class RecommendedSuppliers extends Command |
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :保存供应商详情
|
|
|
|
* @name :savePurchaserInfo
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/5/29 16:38
|
|
|
|
*/
|
|
|
|
public function savePurchaserInfo(){
|
|
|
|
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|