配置修改
This commit is contained in:
		| @@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter | ||||
|                 .antMatchers("/*/api-docs").anonymous() | ||||
|                 .antMatchers("/druid/**").anonymous() | ||||
| //                // 除上面外的所有请求全部需要鉴权认证 | ||||
|                 //.anyRequest().authenticated() | ||||
|                 .anyRequest().authenticated() | ||||
|                 .and() | ||||
|                 .headers().frameOptions().disable(); | ||||
|         httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler); | ||||
|   | ||||
| @@ -212,6 +212,7 @@ public class ESNOImpactSubzoneEntity { | ||||
|         this.obviouslyWorse = obviouslyWorse; | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public String toString() { | ||||
|         return "ESNOImpactSubzoneEntity{id = " + id + ", type = " + type + ", year = " + year + ", region = " + region + ", regionEn = " + regionEn + ", vai = " + vai + ", obviouslyBetter = " + obviouslyBetter + ", slightlyBetter = " + slightlyBetter + ", unchanged = " + unchanged + ", slightlyWorse = " + slightlyWorse + ", obviouslyWorse = " + obviouslyWorse + "}"; | ||||
|     } | ||||
|   | ||||
| @@ -184,6 +184,7 @@ | ||||
|         from monitor_keqi_asia_rate | ||||
|     </select> | ||||
|  | ||||
|  | ||||
|     <select id="keqiCountryRate" resultMap="Monitor_KEQI_Country_Rate"> | ||||
|         select mkcr.id, | ||||
|                mkcr.country, | ||||
| @@ -221,4 +222,4 @@ | ||||
|             and #{end} >= mea.year | ||||
|         </if> | ||||
|     </select> | ||||
| </mapper>  | ||||
| </mapper> | ||||
		Reference in New Issue
	
	Block a user