设备在线率统计等
This commit is contained in:
@ -61,7 +61,7 @@ public class ResourcesConfig implements WebMvcConfigurer
|
||||
"/tool/gen/**");
|
||||
//配置项目数据隔离拦截器
|
||||
registry.addInterceptor(projectDataIsolationInterceptor)
|
||||
.addPathPatterns("/gis/groups/**", "/gis/legend/**","/gis/site/**","/project/**","/system/**");
|
||||
.addPathPatterns("/gis/groups/**", "/gis/legend/**","/gis/site/**","/project/**","/system/**","/device/statistics/**");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -131,6 +131,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||
//安防小板
|
||||
.antMatchers("/iot/photos","/iot/photos/**","/yinghsiyun/webhook").permitAll()
|
||||
.antMatchers("/test/**/*").permitAll()
|
||||
.antMatchers("/prod-api/**").permitAll()
|
||||
.antMatchers("/system/district/tree").permitAll()
|
||||
// 除上面外的所有请求全部需要鉴权认证
|
||||
.anyRequest().authenticated()
|
||||
|
Reference in New Issue
Block a user