From daf7acb4f107a427e4a83ba1eb26e5e6012cbdaf Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Wed, 26 Jun 2024 17:04:52 +0800
Subject: [PATCH] update
---
exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseController.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseController.java
index 0a39f3d..eb0ee03 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/web/ExCourseController.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.ExCourse;
@@ -50,6 +51,7 @@
return CommonResult.success(courseService.selectApproveCourseList(course));
}
+ @RepeatSubmit
@ApiOperation(value = "课程审批")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "body", name = "id", dataType = "long", required = true, value = "课程id"),
@@ -68,6 +70,7 @@
return CommonResult.success(courseService.selectCourseById(courseId));
}
+ @RepeatSubmit
@Log(title = "课程管理", businessType = BusinessType.INSERT)
@ApiOperation(value = "新增课程")
@PostMapping
@@ -75,6 +78,7 @@
return CommonResult.success(courseService.insertCourse(course));
}
+ @RepeatSubmit
@Log(title = "课程管理", businessType = BusinessType.UPDATE)
@ApiOperation(value = "编辑课程")
@PutMapping
@@ -82,6 +86,7 @@
return CommonResult.success(courseService.updateCourse(course));
}
+ @RepeatSubmit
@Log(title = "课程管理", businessType = BusinessType.UPDATE)
@ApiOperation(value = "删除课程")
@DeleteMapping(value = { "/{courseId}" })
--
Gitblit v1.9.2