切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
906a97391bb90b0ecc4fdab00a2ac294f62c53dc
1 个父辈
e4d66fe0
1 个管道 的构建
通过
耗费 0 秒
接收推送消息
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
app/portal/controller/BirdController.php
app/portal/controller/PayController.php
app/portal/controller/BirdController.php
查看文件 @
906a973
...
...
@@ -57,8 +57,8 @@ class BirdController extends HomeBaseController
$address
=
$addressModel
->
findData
(
$where2
);
$region
=
explode
(
' '
,
$address
[
'region'
]);
//请求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'
);
//请求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/OOrderService'
);
//构造在线下单提交信息
...
...
@@ -154,7 +154,7 @@ class BirdController extends HomeBaseController
}
//请求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
'
);
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://
api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx
'
);
$jsonResult
=
$this
->
getOrderTracesByJson
(
$indent
[
'order_number'
],
$indent
[
'logistic_code'
]);
$result
=
json_decode
(
$jsonResult
,
true
);
...
...
@@ -212,7 +212,7 @@ class BirdController extends HomeBaseController
$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://
sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInv
'
);
defined
(
'ReqURL'
)
or
define
(
'ReqURL'
,
'http://
api.kdniao.com/api/dist
'
);
$jsonResult
=
$this
->
orderTracesSubByJson
(
$indent
[
'order_number'
],
$indent
[
'logistic_code'
],
$address
);
$result
=
json_decode
(
$jsonResult
,
true
);
...
...
app/portal/controller/PayController.php
查看文件 @
906a973
...
...
@@ -246,7 +246,7 @@ class PayController extends HomeBaseController
}
}
cache
(
'a1'
,
"
456
"
);
cache
(
'a1'
,
"
789
"
);
$bird
=
new
BirdController
;
$createOrder
=
$bird
->
createOrder
(
$order
[
'id'
]);
cache
(
'yuyue1'
,
$createOrder
);
...
...
请
注册
或
登录
后发表评论