作者 lyh

gx

... ... @@ -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(){
}
}
... ...
... ... @@ -176,9 +176,6 @@ class ProjectLogic extends BaseLogic
* @time :2023/8/30 12:14
*/
public function saveProject($param){
if($param['type'] == Project::TYPE_ONE){
$param['serve_id'] = 9;
}
if((($param['type'] == Project::TYPE_TWO) || ($param['type'] == Project::TYPE_THREE)) && empty($param['uptime'])){
$param['uptime'] = date('Y-m-d H:i:s');
}
... ...