From 12127d4c50106122eae1472702b5203d9ec0fbb6 Mon Sep 17 00:00:00 2001 From: limu Date: Mon, 25 Dec 2023 16:49:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/admin/order/Order.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controller/admin/order/Order.php b/app/controller/admin/order/Order.php index 387b0c1..fa0ce1b 100644 --- a/app/controller/admin/order/Order.php +++ b/app/controller/admin/order/Order.php @@ -241,9 +241,6 @@ class Order extends BaseController if (empty($data['min_price']) || empty($data['name']) || empty($data['pay_hp']) || empty($data['id'])) { return app('json')->fail('数据缺失'); } - if (!$this->repository->getDetail($data['id'])) { - return app('json')->fail('该数据不存在'); - } if ($this->repository->getOrderLevel($data['level'],$data['id'])) { return app('json')->fail('该等级已存在'); }