mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-09-03 06:37:44 +08:00
update v6.0.0
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user