APP不获取用户信息

pull/14/head
limingyu 2023-12-18 18:17:51 +08:00
parent 6de19888a1
commit f291775fd1
1 changed files with 9 additions and 7 deletions

View File

@ -91,13 +91,15 @@ public class DockingAspect {
} }
} }
PageData login_user = new PageData(); PageData login_user = new PageData();
login_user.put("USER_ID",Jurisdiction.getUSER_ID()); if (!servletPath.contains("/app/")) {
login_user.put("USERNAME",Jurisdiction.getUsername()); login_user.put("USER_ID",Jurisdiction.getUSER_ID());
login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID()); login_user.put("USERNAME",Jurisdiction.getUsername());
login_user.put("DEPARTMENT_ID",Jurisdiction.getDEPARTMENT_ID()); login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
login_user.put("NAME",Jurisdiction.getName()); login_user.put("DEPARTMENT_ID",Jurisdiction.getDEPARTMENT_ID());
login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE()); login_user.put("NAME",Jurisdiction.getName());
login_user.put("POST_ID",Jurisdiction.getPOST_ID()); login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE());
login_user.put("POST_ID",Jurisdiction.getPOST_ID());
}
pageData.put("LOGIN_USER",login_user); pageData.put("LOGIN_USER",login_user);
pageData.put("url",servletPath); pageData.put("url",servletPath);
/*//连接redis /*//连接redis