切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王晓刚
6 years ago
提交
933966b0bc36f69f083866445a088fbeb1e92e24
1 个父辈
4c4a306c
1 个管道 的构建
通过
耗费 0 秒
接收推送消息
变更
1
构建
1
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
app/portal/controller/BirdController.php
app/portal/controller/BirdController.php
查看文件 @
933966b
...
...
@@ -138,7 +138,7 @@ class BirdController extends HomeBaseController
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
getOrder
(
$indent_id
=
null
){
public
function
getOrder
(
$indent_id
=
112
){
if
(
empty
(
$indent_id
)){
$this
->
error
(
'缺少必要参数'
,
''
,
''
,
''
);
}
...
...
@@ -149,9 +149,9 @@ class BirdController extends HomeBaseController
if
(
empty
(
$indent
)){
$this
->
error
(
'未查询到该订单'
,
''
,
''
,
''
);
}
if
(
$indent
[
'state'
]
!=
5
){
$this
->
error
(
'该订单不是已发货状态'
,
''
,
''
,
''
);
}
// if($indent['state'] != 5){
// $this->error('该订单不是已发货状态','','','');
// }
//请求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'
);
...
...
@@ -204,9 +204,9 @@ class BirdController extends HomeBaseController
$this
->
error
(
'未查询到该订单'
,
''
,
''
,
''
);
}
if
(
$indent
[
'state'
]
!=
2
){
$this
->
error
(
'该订单不是已发货状态'
,
''
,
''
,
''
);
}
// if($indent['state'] != 2){
// $this->error('该订单不是已发货状态','','','');
// }
//收货地址
$where2
[
'id'
]
=
[
'eq'
,
$indent
[
'indent_address'
]];
$addressModel
=
new
AddressModel
();
...
...
请
注册
或
登录
后发表评论