|
@@ -12,6 +12,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
@@ -33,7 +34,7 @@ public class AlarmController {
|
|
|
|
|
|
|
|
|
@ResponseBody
|
|
|
- @GetMapping("/getPage")
|
|
|
+ @PostMapping("/getPage")
|
|
|
@ApiOperation(value = "获取告警分页")
|
|
|
public AjaxMessage<Pagination<DeviceAlarmVo>> getPage(
|
|
|
@Valid DeviceAlarmQueryDto dto, BasePageDto page
|