修改接口传token报错的问题

master
heminjian502 2 years ago
parent c891a2be05
commit be592f2395

@ -113,9 +113,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/*/api-docs").anonymous()
.antMatchers("/druid/**").anonymous()
.antMatchers("/wechat/login/**").anonymous()
.antMatchers("/api/app/hospital/list").anonymous()
.antMatchers("/api/app/version/info").anonymous()
.antMatchers("/common/upload").anonymous()
.antMatchers("/api/app/hospital/list").permitAll()
.antMatchers("/api/app/version/info").permitAll()
.antMatchers("/common/upload").permitAll()
// 除上面外的所有请求全部需要鉴权认证
.anyRequest().authenticated()
.and()

Loading…
Cancel
Save