From 48e30dba578a8f0cf7cd407c4dd948b0d1424e0e Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Mon, 25 Dec 2023 21:58:24 +0800 Subject: [PATCH] yh --- app/Controller/Payment/AccountController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index 043424c..059bec4 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -191,7 +191,7 @@ class AccountController extends AbstractController $account = Account::where('id', $userInfo['userId'])->first(); $userId = $this->resetUserId($userInfo['userId']); - $user = User::where('user_id', $userId)->first(['member_id']); + $user = User::where('user_id', $userId)->first(['member_id', 'user_type']); if ($user) { $this->userService->rsyncUser($user->member_id, '202308070000001', $userId, $user->user_type); $user = User::where('user_id', $userId)->first(['member_id', 'realname_flag', 'bind_card_flag', 'set_pwd_flag', 'mobile', 'real_name', 'certificate_no', 'user_type', 'apply_no', 'is_platform_account']);