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