From c241afd9a3b7557a1923b1dd75a348f04ae158a0 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Mon, 16 Sep 2024 15:50:39 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9C=AC=E5=9C=B0=E7=94=9F=E6=B4=BB=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E6=96=B0=E5=A2=9E=E8=AE=A2=E5=8D=95=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/LocalStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/LocalStore.php b/app/api/controller/LocalStore.php index 699749b6..f0f97f59 100755 --- a/app/api/controller/LocalStore.php +++ b/app/api/controller/LocalStore.php @@ -279,7 +279,7 @@ class LocalStore extends Api $user_id = $this->user_id; $data = LocalStoreLogic::submitOrder($post,$user_id); if($data === -1){ - return JsonServer::success('库存不足'); + return JsonServer::error('库存不足'); } return JsonServer::success('下单成功', $data); }