更改了getSubTaskList的URL以适应前后端联调
parent
ce02979a98
commit
d7d2579aef
|
@ -26,7 +26,7 @@ public class TaskController {
|
|||
private IProjectGroupService projectGroupService;
|
||||
|
||||
@SneakyThrows
|
||||
@GetMapping("/subtask/{fatherId}")
|
||||
@GetMapping("/{fatherId}/subtask")
|
||||
public ResponseList<Task> getSubTaskList(
|
||||
@RequestHeader("Token") String token,
|
||||
@PathVariable("projectId") Integer projectId,
|
||||
|
@ -55,7 +55,7 @@ public class TaskController {
|
|||
}
|
||||
|
||||
@SneakyThrows
|
||||
@PostMapping("/")
|
||||
@PostMapping
|
||||
public ResponseMap createTask(
|
||||
@RequestHeader("Token") String token,
|
||||
@PathVariable("projectId") Integer projectId,
|
||||
|
@ -67,7 +67,7 @@ public class TaskController {
|
|||
}
|
||||
|
||||
@SneakyThrows
|
||||
@PutMapping("/")
|
||||
@PutMapping
|
||||
public ResponseMap modifyTask(
|
||||
@RequestHeader("Token") String token,
|
||||
@PathVariable("projectId") Integer projectId,
|
||||
|
|
Loading…
Reference in New Issue