diff --git a/app/Service/UserService.php b/app/Service/UserService.php index 9a82e4a..ea0420d 100644 --- a/app/Service/UserService.php +++ b/app/Service/UserService.php @@ -69,9 +69,9 @@ 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']; + $user->bind_card_flag = $userInfo['bindCardFlag'] == 'Y' ? 'Y' : 'N'; $user->set_pwd_flag = $userInfo['setPwdFlag']; - $user->status = $userInfo['operatorStatus'] ?: $userInfo['status']; + $user->status = $userInfo['status']; $user->email = $userInfo['email'] ?? ''; $user->mobile = $userInfo['mobile'] ?? ''; $user->real_name = $userInfo['customerName'] ?? '';