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