作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

后台调是发货

@@ -58,7 +58,7 @@ class BirdController extends AdminBaseController @@ -58,7 +58,7 @@ class BirdController extends AdminBaseController
58 $region = explode(' ',$address['region']); 58 $region = explode(' ',$address['region']);
59 59
60 //请求url,接口正式地址:http://api.kdniao.com/api/OOrderService 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json 60 //请求url,接口正式地址:http://api.kdniao.com/api/OOrderService 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json
61 - defined('ReqURL') or define('ReqURL', 'http://api.kdniao.com/api/EOrderService'); 61 + defined('ReqURL') or define('ReqURL', 'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json');
62 62
63 63
64 //构造在线下单提交信息 64 //构造在线下单提交信息
@@ -158,7 +158,7 @@ class BirdController extends AdminBaseController @@ -158,7 +158,7 @@ class BirdController extends AdminBaseController
158 // } 158 // }
159 159
160 //请求url,接口正式地址:http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json 160 //请求url,接口正式地址:http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json
161 - defined('ReqURL') or define('ReqURL', 'http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx'); 161 + defined('ReqURL') or define('ReqURL', 'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json');
162 162
163 $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code'],$indent['logistic_name']); 163 $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code'],$indent['logistic_name']);
164 $result = json_decode($jsonResult,true); 164 $result = json_decode($jsonResult,true);
@@ -216,7 +216,7 @@ class BirdController extends AdminBaseController @@ -216,7 +216,7 @@ class BirdController extends AdminBaseController
216 $addressModel = new AddressModel(); 216 $addressModel = new AddressModel();
217 $address = $addressModel->findData($where2); 217 $address = $addressModel->findData($where2);
218 //请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv 218 //请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv
219 - defined('ReqURL') or define('ReqURL', 'http://api.kdniao.com/api/dist'); 219 + defined('ReqURL') or define('ReqURL', 'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json');
220 220
221 $jsonResult = $this->orderTracesSubByJson($indent['order_number'],$indent['logistic_code'],$address,$indent['logistic_name'],$indent['logistic_name']); 221 $jsonResult = $this->orderTracesSubByJson($indent['order_number'],$indent['logistic_code'],$address,$indent['logistic_name'],$indent['logistic_name']);
222 $result = json_decode($jsonResult,true); 222 $result = json_decode($jsonResult,true);