From 1f681d1fbe787ed85fd22dc7bc549796defdd1b9 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Mon, 31 Mar 2025 14:42:18 +0800 Subject: [PATCH] fix : login --- app/Service/Api/Login/WxFastLoginService.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Service/Api/Login/WxFastLoginService.php b/app/Service/Api/Login/WxFastLoginService.php index 285c610..01533ef 100644 --- a/app/Service/Api/Login/WxFastLoginService.php +++ b/app/Service/Api/Login/WxFastLoginService.php @@ -54,7 +54,7 @@ class WxFastLoginService extends LoginBaseService $this->openId = $wxInfo['openid']; $this->unionId = $wxInfo['unionid'] ?? ''; - $this->jsCodeGetPhoneNumber($phoneCode); + $wxPhone = $this->jsCodeGetPhoneNumber($phoneCode); $this->mobile = $wxPhone['phone_info']['purePhoneNumber'] ?? ''; $this->checkLock(self::LOGIN_TYPE); @@ -75,8 +75,6 @@ class WxFastLoginService extends LoginBaseService */ private function updateMobile(): void { - $this->log->debug(json_encode($this->userInfo->toArray())); - $this->log->debug('user_mobile:'.$this->mobile); if (empty($this->mobile)) return; if ($this->userInfo->mobile == $this->mobile) return;