新增安防告警不带图片和只上传图片去掉认证权限

This commit is contained in:
wyw
2024-08-17 14:31:40 +08:00
parent 8b13375a24
commit 1e8a56c36a

View File

@ -129,7 +129,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// dueros // dueros
.antMatchers("/dueros").permitAll() .antMatchers("/dueros").permitAll()
//安防小板 //安防小板
.antMatchers("/iot/photos").permitAll() .antMatchers("/iot/photos","/iot/photos/**").permitAll()
// 除上面外的所有请求全部需要鉴权认证 // 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated() .anyRequest().authenticated()