From 1b46c576ba423ec58a2095041694726ab00daddd Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Wed, 8 Mar 2023 20:40:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=81=AB=E7=82=B9=E6=92=AD?= =?UTF-8?q?=E6=8A=A5=E8=AF=B7=E6=B1=82=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/controller/FirePointController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/xkrs/controller/FirePointController.java b/src/main/java/com/xkrs/controller/FirePointController.java index e890490..94fa82c 100644 --- a/src/main/java/com/xkrs/controller/FirePointController.java +++ b/src/main/java/com/xkrs/controller/FirePointController.java @@ -1,11 +1,11 @@ package com.xkrs.controller; import com.xkrs.common.encapsulation.PromptMessageEnum; -import com.xkrs.service.FirePointService; -import com.xkrs.service.impl.FirePointServiceImpl; import com.xkrs.dao.SysUserDao; import com.xkrs.helper.FirePointQueryManager; +import com.xkrs.service.FirePointService; import com.xkrs.service.StreetService; +import com.xkrs.service.impl.FirePointServiceImpl; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.i18n.LocaleContextHolder; @@ -81,7 +81,7 @@ public class FirePointController { * @param limit 最大数量 */ @GetMapping("/queryFirePointBroadcast") - public String queryFirePointBroadcast(@RequestParam("limit") Integer limit) { + public String queryFirePointBroadcast(@RequestParam(value = "limit", required = false) Integer limit) { return firePointService.queryFirePointBroadcast(limit); }