|
@@ -172,7 +172,7 @@ class OrderScript extends Model
|
172
|
172
|
|
173
|
173
|
$ch = curl_init();
|
174
|
174
|
$headers = array("Content-type:application/json;charset='utf-8'","Accept:application/json", "Cache-Control: no-cache", "Pragma: no-cache");
|
175
|
|
- curl_setopt($ch, CURLOPT_URL, "https://api.erp.maijiayun.cn"); //api 地址
|
|
175
|
+ curl_setopt($ch, CURLOPT_URL, "http://w8t1clwezn5y.cn-north-1.jdcloud-api.net/open/openapi"); //api 地址
|
176
|
176
|
curl_setopt($ch, CURLOPT_POST, 1);
|
177
|
177
|
curl_setopt($ch, CURLOPT_TIMEOUT, 5);
|
178
|
178
|
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
|