From 65764cc8746a64e5d8c050db78c2423f1677f7b9 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Thu, 27 Jun 2024 20:57:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9StoreController?= =?UTF-8?q?=E4=BB=A5=E6=94=AF=E6=8C=81=E9=80=9A=E8=BF=87=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E6=88=96=E8=B4=A6=E6=88=B7=E6=9F=A5=E8=AF=A2=E7=94=A8?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/store/StoreController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/store/StoreController.php b/app/api/controller/store/StoreController.php index 369c9709a..21b5b5b5c 100644 --- a/app/api/controller/store/StoreController.php +++ b/app/api/controller/store/StoreController.php @@ -80,7 +80,7 @@ class StoreController extends BaseApiController if($params['price']>10000){ return $this->fail('充值金额不能大于10000'); } - $find=User::where('mobile',$params['mobile'])->find(); + $find=User::where('account|mobile',$params['mobile'])->find(); if(!$find){ $params['create_uid']=$this->userId; $find=UserUserLogic::StoreAdd($params);