thirdpayment
elf 11 months ago
parent ea759b2286
commit f3b8aee2bc

@ -142,7 +142,7 @@ class AccountController extends AbstractController
public function getUserInfo(RequestInterface $request) public function getUserInfo(RequestInterface $request)
{ {
$userInfo = $this->checkUser($request); $userInfo = $this->checkUser($request);
$account = Account::where('user_id', $userInfo['userId'])->first(); $account = Account::where('account_id', $userInfo['userId'])->first();
$userId = 'ACT_' . $userInfo['userId']; $userId = 'ACT_' . $userInfo['userId'];
$user = User::where('user_id', $userId)->first(['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(['realname_flag', 'bind_card_flag', 'set_pwd_flag', 'mobile', 'real_name', 'certificate_no', 'user_type', 'apply_no', 'is_platform_account']);
$bankCard = BankCard::where('user_id', $userId)->first(['bank_name', 'card_user_name']); $bankCard = BankCard::where('user_id', $userId)->first(['bank_name', 'card_user_name']);

Loading…
Cancel
Save