音频文件上传接口permit all
This commit is contained in:
parent
27f4e48181
commit
9c493a0df3
@ -53,7 +53,7 @@ server:
|
|||||||
spring:
|
spring:
|
||||||
# 环境配置,dev=开发环境,prod=生产环境
|
# 环境配置,dev=开发环境,prod=生产环境
|
||||||
profiles:
|
profiles:
|
||||||
active: dev # 环境配置,dev=开发环境,prod=生产环境
|
active: prod # 环境配置,dev=开发环境,prod=生产环境
|
||||||
# 资源信息
|
# 资源信息
|
||||||
messages:
|
messages:
|
||||||
# 国际化资源文件路径
|
# 国际化资源文件路径
|
||||||
|
@ -135,7 +135,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|||||||
.antMatchers("/dueros").permitAll()
|
.antMatchers("/dueros").permitAll()
|
||||||
//license 接口开放
|
//license 接口开放
|
||||||
.antMatchers("/license/**").permitAll()
|
.antMatchers("/license/**").permitAll()
|
||||||
// .antMatchers("/common/upload/audio").permitAll()
|
.antMatchers(HttpMethod.POST, "/common/upload/audio").permitAll()
|
||||||
|
|
||||||
// 除上面外的所有请求全部需要鉴权认证
|
// 除上面外的所有请求全部需要鉴权认证
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user