Browse Source

更换卖家云链接

sunhao 4 years ago
parent
commit
07d03dd47c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/Order.php
  2. 1 1
      app/OrderScript.php

+ 1 - 1
app/Order.php

@@ -235,7 +235,7 @@ class Order extends Model
235 235
 
236 236
 	    $ch = curl_init();
237 237
 	    $headers = array("Content-type:application/json;charset='utf-8'","Accept:application/json", "Cache-Control: no-cache", "Pragma: no-cache");
238
-	    curl_setopt($ch, CURLOPT_URL, "https://api.erp.maijiayun.cn"); //api 地址
238
+	    curl_setopt($ch, CURLOPT_URL, "http://w8t1clwezn5y.cn-north-1.jdcloud-api.net/open/openapi"); //api 地址
239 239
 	    curl_setopt($ch, CURLOPT_POST, 1); 
240 240
 	    curl_setopt($ch, CURLOPT_TIMEOUT, 5); 
241 241
 	    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); 

+ 1 - 1
app/OrderScript.php

@@ -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);