master
wangxinglong 2022-06-10 10:52:51 +08:00
parent 877dbb24fe
commit e8383fb93e
1 changed files with 4 additions and 0 deletions

View File

@ -104,6 +104,10 @@ class User extends Base
$now = date('Y-m-d H:i:s');
if (!$account) {
if(empty($params['nickname'])||empty($params['headimgurl'] )){
return $this->json(4002, '登录失败');
}
// 自动注册
$inviterAid = 0;
$inviterParentAid = 0;