|
|
|
@ -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()
|
|
|
|
|