This commit is contained in:
thinkgem
2018-12-15 19:54:19 +08:00
parent 466b323114
commit 2de5300ae5
3 changed files with 5 additions and 4 deletions

View File

@@ -340,7 +340,8 @@ public class LoginController extends BaseController{
if (!StringUtils.equals(principal.getParam("sysCode"), sysCode)){
principal.setParam("sysCode", sysCode);
UserUtils.removeCacheByKeyPrefix(UserUtils.CACHE_MENU_LIST);
UserUtils.removeCache(UserUtils.CACHE_AUTH_INFO);
Session session = UserUtils.getSession();
UserUtils.removeCache(UserUtils.CACHE_AUTH_INFO+"_"+session.getId());
}
}
return REDIRECT + adminPath + "/index";

View File

@@ -93,7 +93,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<!-- <encoding>${project.build.sourceEncoding}</encoding> -->
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>

View File

@@ -89,8 +89,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<packagingExcludes></packagingExcludes>
<warSourceExcludes></warSourceExcludes>
<!-- <packagingExcludes></packagingExcludes>
<warSourceExcludes></warSourceExcludes> -->
<webappDirectory>${project.build.directory}/${project.artifactId}</webappDirectory>
<warName>${finalName}</warName>
<archive>