diff --git a/app/api/controller/store/StoreController.php b/app/api/controller/store/StoreController.php index 9ac5b9b7..59493a68 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,