切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
c72847bb230b8dd7858aa851460aea82d9344d78
1 个父辈
b5cd5205
1 个管道 的构建
通过
耗费 0 秒
后台调是发货
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
app/admin/controller/BirdController.php
app/admin/controller/BirdController.php
查看文件 @
c72847b
...
...
@@ -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
);
...
...
请
注册
或
登录
后发表评论