Merge branch 'master' of http://git.scdxtc.com/wangxinglong/caipan_shop_admin
commit
4d22a1d063
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue