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/system/SysDictTypeController.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/system/SysDictTypeController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/system/SysDictTypeController.java index e05830e..505c2a3 100644 --- a/exam-admin/src/main/java/com/gkhy/exam/admin/system/SysDictTypeController.java +++ b/exam-admin/src/main/java/com/gkhy/exam/admin/system/SysDictTypeController.java @@ -1,6 +1,7 @@ package com.gkhy.exam.admin.system; 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.domain.entity.SysDictType; import com.gkhy.exam.common.enums.BusinessType; @@ -33,6 +34,7 @@ return CommonResult.success(dictTypeService.selectDictTypeById(dictId)); } + @RepeatSubmit @PreAuthorize("hasAnyAuthority('train:exam:system')") @Log(title = "字典类型", businessType = BusinessType.INSERT) @ApiOperation(value = "新增字典类型") @@ -41,6 +43,7 @@ return CommonResult.success(dictTypeService.insertDictType(dictType)); } + @RepeatSubmit @PreAuthorize("hasAnyAuthority('train:exam:system')") @Log(title = "字典类型", businessType = BusinessType.UPDATE) @ApiOperation(value = "编辑字典类型") @@ -49,6 +52,7 @@ return CommonResult.success(dictTypeService.updateDictType(dictType)); } + @RepeatSubmit @PreAuthorize("hasAnyAuthority('train:exam:system')") @Log(title = "字典类型", businessType = BusinessType.DELETE) @ApiOperation(value = "删除字典类型") @@ -58,6 +62,7 @@ return CommonResult.success(); } + @RepeatSubmit @Log(title = "字典类型", businessType = BusinessType.CLEAN) @ApiOperation(value = "刷新缓存") @DeleteMapping("/refreshCache") -- Gitblit v1.9.2