优化火点播报请求参数
This commit is contained in:
parent
c3f64e0c66
commit
1b46c576ba
@ -1,11 +1,11 @@
|
|||||||
package com.xkrs.controller;
|
package com.xkrs.controller;
|
||||||
|
|
||||||
import com.xkrs.common.encapsulation.PromptMessageEnum;
|
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.dao.SysUserDao;
|
||||||
import com.xkrs.helper.FirePointQueryManager;
|
import com.xkrs.helper.FirePointQueryManager;
|
||||||
|
import com.xkrs.service.FirePointService;
|
||||||
import com.xkrs.service.StreetService;
|
import com.xkrs.service.StreetService;
|
||||||
|
import com.xkrs.service.impl.FirePointServiceImpl;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import org.springframework.context.i18n.LocaleContextHolder;
|
import org.springframework.context.i18n.LocaleContextHolder;
|
||||||
@ -81,7 +81,7 @@ public class FirePointController {
|
|||||||
* @param limit 最大数量
|
* @param limit 最大数量
|
||||||
*/
|
*/
|
||||||
@GetMapping("/queryFirePointBroadcast")
|
@GetMapping("/queryFirePointBroadcast")
|
||||||
public String queryFirePointBroadcast(@RequestParam("limit") Integer limit) {
|
public String queryFirePointBroadcast(@RequestParam(value = "limit", required = false) Integer limit) {
|
||||||
return firePointService.queryFirePointBroadcast(limit);
|
return firePointService.queryFirePointBroadcast(limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user