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