提交 e26c2cb3 authored 作者: 马晨俊's avatar 马晨俊

mcj:增加权限

上级 86281fe8
...@@ -20,10 +20,10 @@ public class MvcConfig extends WebMvcConfigurationSupport { ...@@ -20,10 +20,10 @@ public class MvcConfig extends WebMvcConfigurationSupport {
// 多个拦截器组成一个拦截器链 // 多个拦截器组成一个拦截器链
// addPathPatterns 用于添加拦截规则,/**表示拦截所有请求 // addPathPatterns 用于添加拦截规则,/**表示拦截所有请求
// excludePathPatterns 用户排除拦截 // excludePathPatterns 用户排除拦截
// registry.addInterceptor(loginInterceptor) registry.addInterceptor(loginInterceptor)
// .addPathPatterns("/**") .addPathPatterns("/**")
// .excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**","/doc.html"); .excludePathPatterns("/swagger-resources/**", "/webjars/**", "/v2/**", "/swagger-ui.html/**","/doc.html");
// ; ;
super.addInterceptors(registry); super.addInterceptors(registry);
} }
......
...@@ -16,7 +16,7 @@ import java.util.Date; ...@@ -16,7 +16,7 @@ import java.util.Date;
* @author Mcj * @author Mcj
* @date 2020-02-27 14:42 * @date 2020-02-27 14:42
*/ */
@Table(name = "master_rule_connection") @Table(name = "master_rule_collection")
@Data @Data
@Entity @Entity
@ApiModel(value = "规则类") @ApiModel(value = "规则类")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论