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']);