|
|
@ -113,9 +113,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
|
.antMatchers("/*/api-docs").anonymous()
|
|
|
|
.antMatchers("/*/api-docs").anonymous()
|
|
|
|
.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").permitAll()
|
|
|
|
.antMatchers("/api/app/version/info").anonymous()
|
|
|
|
.antMatchers("/api/app/version/info").permitAll()
|
|
|
|
.antMatchers("/common/upload").anonymous()
|
|
|
|
.antMatchers("/common/upload").permitAll()
|
|
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
|
|
.anyRequest().authenticated()
|
|
|
|
.anyRequest().authenticated()
|
|
|
|
.and()
|
|
|
|
.and()
|
|
|
|