Commit 19c670af by 向延琳

修改请求方式

1 parent 9436c13b
......@@ -34,6 +34,7 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
......@@ -137,7 +138,7 @@ public class VehicleMonitorController {
@ApiResponses({
@ApiResponse(code = 200, message = "OK", response = StayPointListVO.class),
})
@RequestMapping(value = "/stayPointList")
@RequestMapping(value = "/stayPointList", method = RequestMethod.POST)
@ResponseBody
public R<List<StayPointListVO>> queryStayPointList(@RequestBody StayPointSearch search) {
List<StayPointListVO> stayPointList = vehicleMonitorService.getStayPointList(search);
......@@ -148,7 +149,7 @@ public class VehicleMonitorController {
* 设备停留点导出
*/
@RequestMapping(value = "/exportStayPoint")
@RequestMapping(value = "/exportStayPoint", method = RequestMethod.POST)
@ResponseBody
public R<String> exportStayPointList(@RequestBody StayPointSearch search) {
long t1 = System.currentTimeMillis();
......
......@@ -8,12 +8,13 @@ import java.io.Serializable;
/**
* 排序
*
* @author xiangyanlin
* @date 2022/5/11
*/
@ApiModel("排序")
@Data
public class Sorter implements Serializable {
public class Sorter implements Serializable {
private static final long serialVersionUID = 1L;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!