【重置方法修改DELETE方式】
This commit is contained in:
parent
3f1a6fb508
commit
47f9385fa7
@ -81,7 +81,7 @@ public class TrainingDraftV2Controller {
|
|||||||
/**
|
/**
|
||||||
* 重置当前用户的某个实训草稿的内容
|
* 重置当前用户的某个实训草稿的内容
|
||||||
*/
|
*/
|
||||||
@PostMapping("/reset/{trainingId}")
|
@DeleteMapping("/reset/{trainingId}")
|
||||||
public void resetTraining(@PathVariable("trainingId") Long trainingId, @RequestAttribute AccountVO user) {
|
public void resetTraining(@PathVariable("trainingId") Long trainingId, @RequestAttribute AccountVO user) {
|
||||||
this.training2DraftService.resetTraining(trainingId,user.getId());
|
this.training2DraftService.resetTraining(trainingId,user.getId());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user