From ed5d63035ba8f0b9cf02b99b96a84908e4d5416b Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Mon, 17 Jun 2024 13:39:56 +0800
Subject: [PATCH] =?UTF-8?q?feat(StoreController):=20=E6=9B=B4=E6=96=B0?=
 =?UTF-8?q?=E4=BA=86=20StoreController=20=E4=B8=AD=E7=9A=84=E7=94=A8?=
 =?UTF-8?q?=E6=88=B7=E8=AF=86=E5=88=AB=E6=96=B9=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/api/controller/store/StoreController.php | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app/api/controller/store/StoreController.php b/app/api/controller/store/StoreController.php
index 9ac5b9b7a..59493a688 100644
--- a/app/api/controller/store/StoreController.php
+++ b/app/api/controller/store/StoreController.php
@@ -45,15 +45,13 @@ class StoreController extends BaseApiController
     {
         $params = (new UserValidate())->post()->goCheck('rechargeStoreMoney');
         $auth_code = $this->request->post('auth_code'); //微信支付条码
-        $params['uid'] =  $this->userId;
-        $params['channel_type'] =  $this->userInfo['terminal'];
         $find=User::where('mobile',$params['mobile'])->find();
         if(!$find){
             $find=UserUserLogic::StoreAdd($params);
         }
         $data=[
             'store_id'=>$params['store_id'],
-            'uid'=>$find['uid'],
+            'uid'=>$find['id'],
             'staff_id'=>0,
             'order_id'=>getNewOrderId('CZ'),
             'price'=>1000,