wangxinglong 2022-06-10 02:53:14 +00:00
commit 4d22a1d063
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;