From d8a92ee04fc439c7a7b7db3dd049b4e5101de70a Mon Sep 17 00:00:00 2001 From: baji Date: Tue, 11 Mar 2025 14:15:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=AE=A2=E5=8D=95=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Order.php | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/app/admin/controller/Order.php b/app/admin/controller/Order.php index 1e5f024..70e5583 100755 --- a/app/admin/controller/Order.php +++ b/app/admin/controller/Order.php @@ -491,12 +491,12 @@ class Order extends Base if ($info['status'] == 4) { return $this->renderError('请勿重复操作'); } - if ($info['status'] == 1) { - return $this->renderError('该订单未发货'); - } - if ($info['status'] != 2) { - return $this->renderError('请求参数错误1'); - } + // if ($info['status'] == 1) { + // return $this->renderError('该订单未发货'); + // } + // if ($info['status'] != 2) { + // return $this->renderError('请求参数错误1'); + // } if ($info['freight'] > 0) { $wxServer = new \app\common\server\WechatRefund($this->app); $refund_res = $wxServer->OrderRefund($info); @@ -711,10 +711,6 @@ class Order extends Base exit; } - - /** - * 发货订单导出 - */ /** * 发货订单导出 */