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