|
@@ -86,6 +86,10 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
"/enterpriseinfo/enterpriseInfo/getnologinstr",
|
|
"/enterpriseinfo/enterpriseInfo/getnologinstr",
|
|
"/enterpriseinfo/enterpriseInfo/getIndustryChainList",
|
|
"/enterpriseinfo/enterpriseInfo/getIndustryChainList",
|
|
"/enterpriseinfo/enterpriseInfo/loginid",
|
|
"/enterpriseinfo/enterpriseInfo/loginid",
|
|
|
|
+
|
|
|
|
+ "/dp/dp/getDzfCount",
|
|
|
|
+ "/dp/dp/getZcs",
|
|
|
|
+
|
|
"/sys/sysConfig/getConfig",
|
|
"/sys/sysConfig/getConfig",
|
|
"/getAppFlowChart",
|
|
"/getAppFlowChart",
|
|
"/sys/getCode",
|
|
"/sys/getCode",
|
|
@@ -94,6 +98,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|
"/app/sys/getCode", "/map/mapVisualization/**",
|
|
"/app/sys/getCode", "/map/mapVisualization/**",
|
|
"/sys/casLogin" ).permitAll ( ) // 允许请求无需认证
|
|
"/sys/casLogin" ).permitAll ( ) // 允许请求无需认证
|
|
.antMatchers ( HttpMethod.OPTIONS, "/**" ).permitAll ( )
|
|
.antMatchers ( HttpMethod.OPTIONS, "/**" ).permitAll ( )
|
|
|
|
+ .antMatchers("/v2/api-docs", "/swagger-ui.html", "/swagger-resources/**").denyAll()
|
|
.anyRequest ( ).authenticated ( ) // 所有请求都需要验证
|
|
.anyRequest ( ).authenticated ( ) // 所有请求都需要验证
|
|
.and ( )
|
|
.and ( )
|
|
.apply ( securityConfigurerAdapter ( ) );
|
|
.apply ( securityConfigurerAdapter ( ) );
|