|
|
|
@ -124,8 +124,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|
|
|
|
.antMatchers(HttpMethod.GET, "/system/dict/data/type/**").permitAll()
|
|
|
|
|
.antMatchers(HttpMethod.GET, "/report/pdaRecord/getPdaRecord").permitAll()
|
|
|
|
|
.antMatchers(HttpMethod.GET, "/report/repairMeasures/getRepairMeasures").permitAll()
|
|
|
|
|
// .antMatchers(HttpMethod.POST, "/**/**/**").permitAll()
|
|
|
|
|
// .antMatchers(HttpMethod.GET, "/**/**/**").permitAll()
|
|
|
|
|
.antMatchers(HttpMethod.POST, "/**/**/**").permitAll()
|
|
|
|
|
.antMatchers(HttpMethod.GET, "/**/**/**").permitAll()
|
|
|
|
|
// 除上面外的所有请求全部需要鉴权认证
|
|
|
|
|
.anyRequest().authenticated()
|
|
|
|
|
.and()
|
|
|
|
|