thirdpayment
ljl 11 months ago
parent 4ac8335a9c
commit d9f2d88f78

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

Loading…
Cancel
Save