修改一个bug

pull/5401/head^2
zhangdaiscott 1 year ago
parent 5edb30c51f
commit e721668eb0

@ -286,6 +286,7 @@ public class LoginController {
String orgCode= user.getOrgCode();
//获取登录租户
Integer tenantId = user.getLoginTenantId();
//设置用户登录部门和登录租户
this.sysUserService.updateUserDepart(username, orgCode,tenantId);
SysUser sysUser = sysUserService.getUserByName(username);
JSONObject obj = new JSONObject();
@ -728,7 +729,7 @@ public class LoginController {
val = Integer.parseInt(failTime.toString());
}
// 10分钟
redisUtil.set(key, ++val, 600);
redisUtil.set(key, ++val, 10);
}
}
Loading…
Cancel
Save