Commit fd118c71 by 龙于生 Committed by 284718418@qq.com

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

parent 2e7d3d6a
...@@ -789,6 +789,10 @@ public class LoginController { ...@@ -789,6 +789,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