修正首页接口+登陆接口
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user