Browse Source

1、增加服务器启动时从redis获取模块期限数据

master
bjang03 7 months ago
parent
commit
21c0e4bfc7
  1. 2
      win-framework/win-spring-boot-starter-web/src/main/java/com/win/framework/web/config/WinWebAutoConfiguration.java

2
win-framework/win-spring-boot-starter-web/src/main/java/com/win/framework/web/config/WinWebAutoConfiguration.java

@ -152,7 +152,7 @@ public class WinWebAutoConfiguration implements WebMvcConfigurer {
@Override @Override
public void addInterceptors(InterceptorRegistry registry) { public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new ModuleAuthenInterceptor()).addPathPatterns("/**");// 模块权限拦截器 张斌 2024-05-15 10:29 // registry.addInterceptor(new ModuleAuthenInterceptor()).addPathPatterns("/**");// 模块权限拦截器 张斌 2024-05-15 10:29
// 注册拦截器 // 注册拦截器
MyI18nInterceptor myHandlerInterceptor = new MyI18nInterceptor(); MyI18nInterceptor myHandlerInterceptor = new MyI18nInterceptor();

Loading…
Cancel
Save