update v6.0.0

This commit is contained in:
evoxwht 2026-06-22 10:18:41 +08:00
parent a9b0ff6901
commit 1f0a61efd8

View File

@ -482,6 +482,10 @@ class LoginController
CacheService::delete('code_' . $phone);
return app('json')->fail('验证码错误');
}
} else {
if (!$openId) {
return app('json')->fail('参数错误');
}
}
if ($email == '') $email = substr(md5($openId), 0, 12);
$userInfo = [