!311 fix 修复超管切换租户后 新增用户校验的租户不正确
Merge pull request !311 from Yjoioooo/5.X
This commit is contained in:
commit
f1dd87abd5
@ -151,7 +151,7 @@ public class SysUserController extends BaseController {
|
||||
return R.fail("新增用户'" + user.getUserName() + "'失败,邮箱账号已存在");
|
||||
}
|
||||
if (TenantHelper.isEnable()) {
|
||||
if (!tenantService.checkAccountBalance(LoginHelper.getTenantId())) {
|
||||
if (!tenantService.checkAccountBalance(TenantHelper.getTenantId())) {
|
||||
return R.fail("当前租户下用户名额不足,请联系管理员");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user