From 94c0e196edc21c324959d156f48ad6ed8739b632 Mon Sep 17 00:00:00 2001 From: machao <1550409116@qq.com> Date: Mon, 14 Nov 2022 17:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/framework/config/SecurityConfig.java | 2 +- .../system/domain_yada/entity/ESNOImpactSubzoneEntity.java | 1 + .../src/main/resources/mapper/system/MonitorMapper.xml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java index b31f0f5f6..b58af4f19 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java @@ -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); diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/entity/ESNOImpactSubzoneEntity.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/entity/ESNOImpactSubzoneEntity.java index 09a162c0d..911f5e1ab 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/entity/ESNOImpactSubzoneEntity.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain_yada/entity/ESNOImpactSubzoneEntity.java @@ -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 + "}"; } diff --git a/ruoyi-system/src/main/resources/mapper/system/MonitorMapper.xml b/ruoyi-system/src/main/resources/mapper/system/MonitorMapper.xml index c8ec5e6a1..6c52856f0 100644 --- a/ruoyi-system/src/main/resources/mapper/system/MonitorMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/MonitorMapper.xml @@ -184,6 +184,7 @@ from monitor_keqi_asia_rate + - \ No newline at end of file + \ No newline at end of file