添加接口:/queryHuangDao

获取黄岛区2023年以来全部地物类型火点
This commit is contained in:
liuchengqian 2023-01-31 17:02:30 +08:00
parent 0225ae9ba4
commit e8c02d1403
2 changed files with 7 additions and 0 deletions

View File

@ -78,6 +78,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers(HttpMethod.GET, "/updateFirePointStreetCode").permitAll() .antMatchers(HttpMethod.GET, "/updateFirePointStreetCode").permitAll()
.antMatchers(HttpMethod.GET, "/selectTodayFirePoint").permitAll() .antMatchers(HttpMethod.GET, "/selectTodayFirePoint").permitAll()
.antMatchers(HttpMethod.GET, "/api/user/selectVipUser").permitAll() .antMatchers(HttpMethod.GET, "/api/user/selectVipUser").permitAll()
.antMatchers(HttpMethod.GET, "/queryHuangDao").permitAll()
// 所有其它请求需要身份认证 // 所有其它请求需要身份认证
.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()

View File

@ -81,6 +81,12 @@ public class FirePointController {
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale); return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale);
} }
@GetMapping("/queryHuangDao")
public String queryHuangDao() {
List<FirePointEntity> firePointList = firePointQueryHelper.queryFirePoint("370211", "2023-01-01 00:00:10", null, null, null);
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale);
}
/** /**
* 添加火点数据 * 添加火点数据
* *