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,6 +91,7 @@ public class DockingAspect {
} }
} }
PageData login_user = new PageData(); PageData login_user = new PageData();
if (!servletPath.contains("/app/")) {
login_user.put("USER_ID",Jurisdiction.getUSER_ID()); login_user.put("USER_ID",Jurisdiction.getUSER_ID());
login_user.put("USERNAME",Jurisdiction.getUsername()); login_user.put("USERNAME",Jurisdiction.getUsername());
login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID()); login_user.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
@ -98,6 +99,7 @@ public class DockingAspect {
login_user.put("NAME",Jurisdiction.getName()); login_user.put("NAME",Jurisdiction.getName());
login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE()); login_user.put("ISSUPERVISE",Jurisdiction.getISSUPERVISE());
login_user.put("POST_ID",Jurisdiction.getPOST_ID()); 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