作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

接收推送消息

... ... @@ -138,7 +138,7 @@ class BirdController extends HomeBaseController
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function getOrder($indent_id = 112){
public function getOrder($indent_id = null){
if(empty($indent_id)){
$this->error('缺少必要参数','','','');
}
... ...
... ... @@ -50,7 +50,7 @@ class LoadController extends HomeBaseController
foreach($result['Data'] as $key => $vo){
$indent = $indentModel->findData(['logistic_code'=>$vo['LogisticCode']]);
if(!empty($indent)){
if($vo['state'] >=1 && $vo['state'] != 4){
if($vo['State'] >=1 && $vo['State'] != 4){
if($indent['state'] == 2){
$indentModel->updateData(['id'=>$indent['id']],['state'=>5]);
}
... ...