From 7fa658198a56c709aa8078c39293f888a5bef3d1 Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Wed, 3 Nov 2021 10:23:43 +0800 Subject: [PATCH] edit-admin-order_detail --- admin/controllers/receiver/Orders.php | 2 +- admin/views/receiver/orders/oinfo.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/controllers/receiver/Orders.php b/admin/controllers/receiver/Orders.php index 26606af0..21b42249 100644 --- a/admin/controllers/receiver/Orders.php +++ b/admin/controllers/receiver/Orders.php @@ -663,7 +663,7 @@ class Orders extends HD_Controller if (!$row) { return $this->show_json(SYS_CODE_FAIL, '参数错误!'); } - if ($row['status'] <= 4) { + if ($row['status'] < 4) { return $this->show_json(SYS_CODE_FAIL, '修改失败,该订单不处于代办阶段'); } $this->order_agents_model->update(['status' => 1], ['o_id' => $oid]); diff --git a/admin/views/receiver/orders/oinfo.php b/admin/views/receiver/orders/oinfo.php index 458c733b..146c4a38 100644 --- a/admin/views/receiver/orders/oinfo.php +++ b/admin/views/receiver/orders/oinfo.php @@ -54,7 +54,7 @@