From 9a648279e50c4b22658bb6e8662fdad652aaa1c6 Mon Sep 17 00:00:00 2001 From: ljl Date: Fri, 22 Dec 2023 11:23:33 +0800 Subject: [PATCH] yh --- app/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/UserService.php b/app/Service/UserService.php index ea0420d..70fdc8a 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']; + $user->bind_card_flag = $$userInfo['bindCardFlag'] == 'Y' ? 'Y' : 'N'; $user->set_pwd_flag = $userInfo['setPwdFlag']; $user->status = $userInfo['operatorStatus'] ?? $userInfo['status']; $user->email = $userInfo['email'] ?? '';