正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
@@ -57,8 +57,8 @@ class BirdController extends HomeBaseController | @@ -57,8 +57,8 @@ class BirdController extends HomeBaseController | ||
57 | $address = $addressModel->findData($where2); | 57 | $address = $addressModel->findData($where2); |
58 | $region = explode(' ',$address['region']); | 58 | $region = explode(' ',$address['region']); |
59 | 59 | ||
60 | - //请求url,接口正式地址:http://api.kdniao.com/api/OOrderService 测试环境地址:http://testapi.kdniao.com:8081/api/oorderservice | ||
61 | - defined('ReqURL') or define('ReqURL', '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/OOrderService'); | ||
62 | 62 | ||
63 | 63 | ||
64 | //构造在线下单提交信息 | 64 | //构造在线下单提交信息 |
@@ -154,7 +154,7 @@ class BirdController extends HomeBaseController | @@ -154,7 +154,7 @@ class BirdController extends HomeBaseController | ||
154 | } | 154 | } |
155 | 155 | ||
156 | //请求url,接口正式地址:http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json | 156 | //请求url,接口正式地址:http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json |
157 | - defined('ReqURL') or define('ReqURL', 'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json'); | 157 | + defined('ReqURL') or define('ReqURL', 'http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx'); |
158 | 158 | ||
159 | $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code']); | 159 | $jsonResult = $this->getOrderTracesByJson($indent['order_number'],$indent['logistic_code']); |
160 | $result = json_decode($jsonResult,true); | 160 | $result = json_decode($jsonResult,true); |
@@ -212,7 +212,7 @@ class BirdController extends HomeBaseController | @@ -212,7 +212,7 @@ class BirdController extends HomeBaseController | ||
212 | $addressModel = new AddressModel(); | 212 | $addressModel = new AddressModel(); |
213 | $address = $addressModel->findData($where2); | 213 | $address = $addressModel->findData($where2); |
214 | //请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv | 214 | //请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv |
215 | - defined('ReqURL') or define('ReqURL', 'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv'); | 215 | + defined('ReqURL') or define('ReqURL', 'http://api.kdniao.com/api/dist'); |
216 | 216 | ||
217 | $jsonResult = $this->orderTracesSubByJson($indent['order_number'],$indent['logistic_code'],$address); | 217 | $jsonResult = $this->orderTracesSubByJson($indent['order_number'],$indent['logistic_code'],$address); |
218 | $result = json_decode($jsonResult,true); | 218 | $result = json_decode($jsonResult,true); |
@@ -246,7 +246,7 @@ class PayController extends HomeBaseController | @@ -246,7 +246,7 @@ class PayController extends HomeBaseController | ||
246 | } | 246 | } |
247 | 247 | ||
248 | } | 248 | } |
249 | - cache('a1',"456"); | 249 | + cache('a1',"789"); |
250 | $bird = new BirdController; | 250 | $bird = new BirdController; |
251 | $createOrder = $bird -> createOrder($order['id']); | 251 | $createOrder = $bird -> createOrder($order['id']); |
252 | cache('yuyue1',$createOrder); | 252 | cache('yuyue1',$createOrder); |
-
请 注册 或 登录 后发表评论