From e8c02d1403c622811c148449555c8174a3469d20 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 31 Jan 2023 17:02:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3:/queryHuan?= =?UTF-8?q?gDao=20=E8=8E=B7=E5=8F=96=E9=BB=84=E5=B2=9B=E5=8C=BA2023?= =?UTF-8?q?=E5=B9=B4=E4=BB=A5=E6=9D=A5=E5=85=A8=E9=83=A8=E5=9C=B0=E7=89=A9?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=81=AB=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/common/config/WebSecurityConfig.java | 1 + src/main/java/com/xkrs/controller/FirePointController.java | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java index 12a26ab..f438139 100644 --- a/src/main/java/com/xkrs/common/config/WebSecurityConfig.java +++ b/src/main/java/com/xkrs/common/config/WebSecurityConfig.java @@ -78,6 +78,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter { .antMatchers(HttpMethod.GET, "/updateFirePointStreetCode").permitAll() .antMatchers(HttpMethod.GET, "/selectTodayFirePoint").permitAll() .antMatchers(HttpMethod.GET, "/api/user/selectVipUser").permitAll() + .antMatchers(HttpMethod.GET, "/queryHuangDao").permitAll() // 所有其它请求需要身份认证 .anyRequest().authenticated() .and() diff --git a/src/main/java/com/xkrs/controller/FirePointController.java b/src/main/java/com/xkrs/controller/FirePointController.java index 8b09c6b..e295fff 100644 --- a/src/main/java/com/xkrs/controller/FirePointController.java +++ b/src/main/java/com/xkrs/controller/FirePointController.java @@ -81,6 +81,12 @@ public class FirePointController { return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale); } + @GetMapping("/queryHuangDao") + public String queryHuangDao() { + List firePointList = firePointQueryHelper.queryFirePoint("370211", "2023-01-01 00:00:10", null, null, null); + return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale); + } + /** * 添加火点数据 *