提交 6c9b073d 编写于 作者: sq3536's avatar sq3536

sysapps

上级 868d9fbb
...@@ -15,6 +15,7 @@ import org.apache.commons.io.IOUtils; ...@@ -15,6 +15,7 @@ import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheEvict; import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.Cacheable; import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.Caching;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority;
...@@ -220,7 +221,11 @@ public class UAACoreService { ...@@ -220,7 +221,11 @@ public class UAACoreService {
return appNode; return appNode;
} }
@CacheEvict( value="syspssystem",key = "'row:all-apps'") @Caching( evict = {
@CacheEvict( value="syspssystem",key = "'row:all-apps'"),
@CacheEvict( value="syspssystem",key = "'row:all-dst-apps'"),
@CacheEvict( value="syspssystem",key = "'row:all-dst-sys-apps'")
})
public void resetApps() public void resetApps()
{ {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册