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;