kongzy
2024-06-26 daf7acb4f107a427e4a83ba1eb26e5e6012cbdaf
exam-admin/src/main/java/com/gkhy/exam/admin/system/SysNoticeController.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.enums.BusinessType;
import com.gkhy.exam.system.domain.SysNotice;
@@ -34,6 +35,7 @@
    }
    @RepeatSubmit
    @Log(title = "通知公告", businessType = BusinessType.INSERT)
    @ApiOperation(value = "新增通知公告")
    @PostMapping
@@ -42,6 +44,7 @@
        return CommonResult.success(noticeService.insertNotice(notice));
    }
    @RepeatSubmit
    @Log(title = "通知公告", businessType = BusinessType.UPDATE)
    @ApiOperation(value = "修改通知公告")
    @PutMapping
@@ -50,6 +53,7 @@
        return CommonResult.success(noticeService.updateNotice(notice));
    }
    @RepeatSubmit
    @Log(title = "通知公告", businessType = BusinessType.DELETE)
    @ApiOperation(value = "删除通知公告")
    @DeleteMapping("/{noticeIds}")