feat:完善信息
This commit is contained in:
@ -54,7 +54,7 @@ func (c *Account) Login(account, password, captchaKey, captchaValue, equipment,
|
||||
return nil, err
|
||||
} else if !isExist {
|
||||
return nil, errors.New("当前不属于任何租户,不可登录")
|
||||
} else if mSysUserTenant.Status != model2.SysUserTenantStatusForEnable {
|
||||
} else if mSysUserTenant.Status != model2.AccountStatusForEnable {
|
||||
return nil, errors.New("当前账号已禁用,不可登录,请联系管理员!")
|
||||
}
|
||||
if mSysUserTenant.TenantID <= 0 {
|
||||
|
Reference in New Issue
Block a user