|
|
@ -189,9 +189,12 @@ class AccountController extends AbstractController
|
|
|
|
$account = Account::where('id', $userInfo['userId'])->first();
|
|
|
|
$account = Account::where('id', $userInfo['userId'])->first();
|
|
|
|
$userId = $this->resetUserId($userInfo['userId']);
|
|
|
|
$userId = $this->resetUserId($userInfo['userId']);
|
|
|
|
|
|
|
|
|
|
|
|
$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']);
|
|
|
|
$user = User::where('user_id', $userId)->first(['member_id']);
|
|
|
|
|
|
|
|
if ($user) {
|
|
|
|
$this->userService->rsyncBankCards($user->member_id);
|
|
|
|
$this->userService->rsyncUser($user->member_id, '202308070000001', $userId);
|
|
|
|
|
|
|
|
$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']);
|
|
|
|
|
|
|
|
$this->userService->rsyncBankCards($user->member_id);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$bankCard = BankCard::where('user_id', $userId)->first(['id', 'bank_name', 'card_user_name']);
|
|
|
|
$bankCard = BankCard::where('user_id', $userId)->first(['id', 'bank_name', 'card_user_name']);
|
|
|
|
return $this->success(['username' => $account->username, 'userInfo' => $user, 'bankCard' => $bankCard]);
|
|
|
|
return $this->success(['username' => $account->username, 'userInfo' => $user, 'bankCard' => $bankCard]);
|
|
|
|