diff --git a/src/main/java/com/zcloud/aspect/DockingAspect.java b/src/main/java/com/zcloud/aspect/DockingAspect.java index 736ef0c2..6f153798 100644 --- a/src/main/java/com/zcloud/aspect/DockingAspect.java +++ b/src/main/java/com/zcloud/aspect/DockingAspect.java @@ -91,13 +91,15 @@ public class DockingAspect { } } PageData login_user = new PageData(); - login_user.put("USER_ID",Jurisdiction.getUSER_ID()); - login_user.put("USERNAME",Jurisdiction.getUsername()); - login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID()); - login_user.put("DEPARTMENT_ID",Jurisdiction.getDEPARTMENT_ID()); - login_user.put("NAME",Jurisdiction.getName()); - login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE()); - login_user.put("POST_ID",Jurisdiction.getPOST_ID()); + if (!servletPath.contains("/app/")) { + login_user.put("USER_ID",Jurisdiction.getUSER_ID()); + login_user.put("USERNAME",Jurisdiction.getUsername()); + login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID()); + login_user.put("DEPARTMENT_ID",Jurisdiction.getDEPARTMENT_ID()); + login_user.put("NAME",Jurisdiction.getName()); + login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE()); + login_user.put("POST_ID",Jurisdiction.getPOST_ID()); + } pageData.put("LOGIN_USER",login_user); pageData.put("url",servletPath); /*//连接redis