Commit c696db91 by 丁伟峰

直接用post方式

1 parent dd411ec4
...@@ -29,8 +29,8 @@ public class WorkbenchController { ...@@ -29,8 +29,8 @@ public class WorkbenchController {
return res; return res;
} }
@RequestMapping(value = "/engineer/schedule/gantt", method = {RequestMethod.GET, RequestMethod.POST}) @PostMapping(value = "/engineer/schedule/gantt")
public Result<?> getEngineersGanttList(@Validated EngineersGanttReqDTO reqDTO) { public Result<?> getEngineersGanttList(@Validated @RequestBody EngineersGanttReqDTO reqDTO) {
// todo 待移到 controller的engineer中 // todo 待移到 controller的engineer中
log.info("getEngineersGanttList: {}", reqDTO); log.info("getEngineersGanttList: {}", reqDTO);
Result<?> res = null; Result<?> res = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!