Compare commits

..

2 Commits

Author SHA1 Message Date
yang.yongquan ce02979a98 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/cn/edu/hfut/rmdjzz/projectmanagement/controller/TaskController.java
2022-07-06 09:36:56 +08:00
yang.yongquan 0417ba1bda 增加存在子任务判断的controller 2022-07-05 21:26:15 +08:00
1 changed files with 10 additions and 0 deletions

View File

@ -77,4 +77,14 @@ public class TaskController {
taskService.modifyTask(token,task);
return ResponseMap.ofSuccess("操作成功");
}
@SneakyThrows
@DeleteMapping
public ResponseMap deleteTaskAndSubTask(
@RequestHeader("Token") String token,
@PathVariable("projectId") Integer projectId,
@RequestParam("taskId") Long taskId
) {
return ResponseMap.ofSuccess("删除成功");
}
}