From 47f9385fa7ad25f4807f84565264d555296b1713 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Tue, 22 Nov 2022 15:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=87=8D=E7=BD=AE=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9DELETE=E6=96=B9=E5=BC=8F=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../rtss/controller/training2/TrainingDraftV2Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java b/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java index 9b033356f..a6718c6a8 100644 --- a/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java +++ b/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java @@ -81,7 +81,7 @@ public class TrainingDraftV2Controller { /** * 重置当前用户的某个实训草稿的内容 */ - @PostMapping("/reset/{trainingId}") + @DeleteMapping("/reset/{trainingId}") public void resetTraining(@PathVariable("trainingId") Long trainingId, @RequestAttribute AccountVO user) { this.training2DraftService.resetTraining(trainingId,user.getId()); }