diff --git a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/LoginController.java b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/LoginController.java index 074b81fe..ccc0576e 100644 --- a/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/LoginController.java +++ b/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/controller/LoginController.java @@ -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); } } \ No newline at end of file