Commit c696db91 by 丁伟峰

直接用post方式

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