修正首页接口+登陆接口

This commit is contained in:
2023-02-20 10:37:46 +08:00
parent c979a70b3a
commit 23aa5dd37f
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ class LoginService extends BaseService
// 获取手机号
$phone_info = $weChat->getPhone($phone_code);
if (empty($phone_info) || empty($phone_info['phone_info']) || empty($phone_info['phone_info']['purePhoneNumber'])){
return fail(HttpEnumCode::GET_WX_ERROR);
}