切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
047c8a2772922f7b186e751b8e78ecdf0a6583ff
2 个父辈
e86e6d35
7a3b7aac
1 个管道 的构建
通过
耗费 0 秒
合并分支 'wangxiaogang' 到 'master'
接收推送消息 查看合并请求
!43
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
6 行删除
app/portal/controller/BirdController.php
app/portal/controller/BirdController.php
查看文件 @
047c8a2
...
...
@@ -57,8 +57,9 @@ class BirdController extends HomeBaseController
$address
=
$addressModel
->
findData
(
$where2
);
$region
=
explode
(
' '
,
$address
[
'region'
]);
//请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://testapi.kdniao.com:8081/api/oorderservice
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://api.kdniao.com/api/OOrderService'
);
//请求url,接口正式地址:http://api.kdniao.com/api/OOrderService 测试环境地址:http://testapi.kdniao.com:8081/api/oorderservice
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json'
);
//构造在线下单提交信息
$eorder
=
[];
...
...
@@ -152,8 +153,8 @@ class BirdController extends HomeBaseController
$this
->
error
(
'该订单不是已发货状态'
,
''
,
''
,
''
);
}
//请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx'
);
//请求url,接口正式地址:http://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json'
);
$jsonResult
=
$this
->
getOrderTracesByJson
(
$indent
[
'order_number'
],
$indent
[
'logistic_code'
]);
$result
=
json_decode
(
$jsonResult
,
true
);
...
...
@@ -210,8 +211,8 @@ class BirdController extends HomeBaseController
$where2
[
'id'
]
=
[
'eq'
,
$indent
[
'indent_address'
]];
$addressModel
=
new
AddressModel
();
$address
=
$addressModel
->
findData
(
$where2
);
//请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://testapi.kdniao.com:8081/api/oorderservice
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://api.kdniao.com/api/dist'
);
//请求url,接口正式地址:http://api.kdniao.com/api/eorderservice 测试环境地址:http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv'
);
$jsonResult
=
$this
->
orderTracesSubByJson
(
$indent
[
'order_number'
],
$indent
[
'logistic_code'
],
$address
);
$result
=
json_decode
(
$jsonResult
,
true
);
...
...
请
注册
或
登录
后发表评论