From af57b939f11ef634bb41212a27584a024308592a Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 22 Dec 2023 11:30:23 +0800 Subject: [PATCH] yh --- app/Service/UserService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Service/UserService.php b/app/Service/UserService.php index e0cabed..15824a6 100644 --- a/app/Service/UserService.php +++ b/app/Service/UserService.php @@ -53,7 +53,7 @@ class UserService extends AbstractService if ($user) { $user->contract_no = $userInfo['contractNo']; $user->realname_flag = $userInfo['realNameFlag'] ?? 'Y'; - $user->bind_card_flag = $userInfo['bindCardFlag'] == 'Y' ? 'Y' : 'N'; + $user->bind_card_flag = $userInfo['bindCardFlag']; $user->set_pwd_flag = $userInfo['setPwdFlag']; $user->status = $userInfo['operatorStatus'] ?? $userInfo['status']; $user->email = $userInfo['email'] ?? ''; @@ -69,7 +69,7 @@ class UserService extends AbstractService $user->member_id = $memberId; $user->contract_no = $userInfo['contractNo']; $user->realname_flag = $userInfo['realNameFlag'] ?? 'Y'; - $user->bind_card_flag = $userInfo['bindCardFlag'] == 'Y' ? 'Y' : 'N'; + $user->bind_card_flag = $userInfo['bindCardFlag']; $user->set_pwd_flag = $userInfo['setPwdFlag']; $user->status = $userInfo['status']; $user->email = $userInfo['email'] ?? '';