Commit 2518b4cf by 龙于生

登录接口新增 判断服务器变更状态

parent aaf55d6c
...@@ -784,6 +784,10 @@ public class LoginController { ...@@ -784,6 +784,10 @@ public class LoginController {
} }
qyzxEmpLogin1.setOrgId(ctrl.getId()); qyzxEmpLogin1.setOrgId(ctrl.getId());
if (ctrl.getStatus().equals(9)) {
return ResultUtil.error("9","服务器变更");
}
if (SysRoleType.U_TYPE_ADMIN.getType().equals(ctrl.getUserType()) if (SysRoleType.U_TYPE_ADMIN.getType().equals(ctrl.getUserType())
|| SysRoleType.U_TYPE_C_ADMIN.getType().equals(ctrl.getUserType())) { || SysRoleType.U_TYPE_C_ADMIN.getType().equals(ctrl.getUserType())) {
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment