From 7ffa50ac7b8f17cc1572b6224a17850ca822ea7b Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 2 Jul 2024 18:28:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E8=BF=94=E5=9B=9E=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/store/controller/store_order/StoreOrderController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/store/controller/store_order/StoreOrderController.php b/app/store/controller/store_order/StoreOrderController.php index 3114b9795..2da343062 100644 --- a/app/store/controller/store_order/StoreOrderController.php +++ b/app/store/controller/store_order/StoreOrderController.php @@ -485,6 +485,8 @@ class StoreOrderController extends BaseAdminController $item['price'] = $item['cart_info']['price']; return $item; }); + }else { + return $this->fail('订单不存在'); } return $this->success('获取成功', $find?->toArray()); }