From daf7acb4f107a427e4a83ba1eb26e5e6012cbdaf Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期三, 26 六月 2024 17:04:52 +0800
Subject: [PATCH] update

---
 exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterPeriodController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterPeriodController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterPeriodController.java
index be6edd6..bb9a5f7 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterPeriodController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseChapterPeriodController.java
@@ -2,6 +2,7 @@
 
 
 import com.gkhy.exam.common.annotation.Log;
+import com.gkhy.exam.common.annotation.RepeatSubmit;
 import com.gkhy.exam.common.api.CommonResult;
 import com.gkhy.exam.common.enums.BusinessType;
 import com.gkhy.exam.system.domain.ExCourseChapterPeriod;
@@ -46,6 +47,7 @@
         return CommonResult.success(courseChapterPeriodService.selectPeriodById(periodId));
     }
 
+    @RepeatSubmit
     @Log(title = "课时管理", businessType = BusinessType.INSERT)
     @ApiOperation(value = "新增课时")
     @PostMapping
@@ -53,6 +55,7 @@
         return CommonResult.success(courseChapterPeriodService.insertPeriod(chapterPeriod));
     }
 
+    @RepeatSubmit
     @Log(title = "课时管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "编辑课时")
     @PutMapping
@@ -60,6 +63,7 @@
         return CommonResult.success(courseChapterPeriodService.updatePeriod(chapterPeriod));
     }
 
+    @RepeatSubmit
     @Log(title = "课时管理", businessType = BusinessType.UPDATE)
     @ApiOperation(value = "删除课时")
     @DeleteMapping(value = { "/{periodId}" })

--
Gitblit v1.9.2