正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -138,7 +138,7 @@ class BirdController extends HomeBaseController | @@ -138,7 +138,7 @@ class BirdController extends HomeBaseController | ||
138 | * @throws \think\db\exception\ModelNotFoundException | 138 | * @throws \think\db\exception\ModelNotFoundException |
139 | * @throws \think\exception\DbException | 139 | * @throws \think\exception\DbException |
140 | */ | 140 | */ |
141 | - public function getOrder($indent_id = 112){ | 141 | + public function getOrder($indent_id = null){ |
142 | if(empty($indent_id)){ | 142 | if(empty($indent_id)){ |
143 | $this->error('缺少必要参数','','',''); | 143 | $this->error('缺少必要参数','','',''); |
144 | } | 144 | } |
@@ -50,7 +50,7 @@ class LoadController extends HomeBaseController | @@ -50,7 +50,7 @@ class LoadController extends HomeBaseController | ||
50 | foreach($result['Data'] as $key => $vo){ | 50 | foreach($result['Data'] as $key => $vo){ |
51 | $indent = $indentModel->findData(['logistic_code'=>$vo['LogisticCode']]); | 51 | $indent = $indentModel->findData(['logistic_code'=>$vo['LogisticCode']]); |
52 | if(!empty($indent)){ | 52 | if(!empty($indent)){ |
53 | - if($vo['state'] >=1 && $vo['state'] != 4){ | 53 | + if($vo['State'] >=1 && $vo['State'] != 4){ |
54 | if($indent['state'] == 2){ | 54 | if($indent['state'] == 2){ |
55 | $indentModel->updateData(['id'=>$indent['id']],['state'=>5]); | 55 | $indentModel->updateData(['id'=>$indent['id']],['state'=>5]); |
56 | } | 56 | } |
-
请 注册 或 登录 后发表评论