From 29af8509e150e4d999d20cf0ed618686718dc897 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Mon, 16 Jun 2025 21:59:47 +0800 Subject: [PATCH] =?UTF-8?q?revert(system/notice):=20=E6=9A=82=E6=97=B6?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=BF=AE=E6=94=B9=E5=85=AC=E5=91=8A=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=B7=B2=E8=AF=BB=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/system/controller/NoticeController.java | 15 +-------------- .../admin/system/service/NoticeService.java | 5 ----- .../system/service/impl/NoticeServiceImpl.java | 4 ---- 3 files changed, 1 insertion(+), 23 deletions(-) diff --git a/continew-system/src/main/java/top/continew/admin/system/controller/NoticeController.java b/continew-system/src/main/java/top/continew/admin/system/controller/NoticeController.java index abc14511..bbc21dd9 100644 --- a/continew-system/src/main/java/top/continew/admin/system/controller/NoticeController.java +++ b/continew-system/src/main/java/top/continew/admin/system/controller/NoticeController.java @@ -17,11 +17,8 @@ package top.continew.admin.system.controller; import cn.hutool.core.collection.CollUtil; -import io.swagger.v3.oas.annotations.Parameter; -import io.swagger.v3.oas.annotations.enums.ParameterIn; import io.swagger.v3.oas.annotations.tags.Tag; -import org.springframework.validation.annotation.Validated; -import org.springframework.web.bind.annotation.*; +import org.springframework.web.bind.annotation.RestController; import top.continew.admin.common.controller.BaseController; import top.continew.admin.system.enums.NoticeMethodEnum; import top.continew.admin.system.enums.NoticeScopeEnum; @@ -34,7 +31,6 @@ import top.continew.starter.core.validation.ValidationUtils; import top.continew.starter.extension.crud.annotation.CrudApi; import top.continew.starter.extension.crud.annotation.CrudRequestMapping; import top.continew.starter.extension.crud.enums.Api; -import top.continew.starter.extension.crud.validation.CrudValidationGroup; import java.lang.reflect.Method; import java.util.Arrays; @@ -73,13 +69,4 @@ public class NoticeController extends BaseController listDashboard(); - /** - * 删除阅读记录 - * - */ - void deleteReadLog(List ids); } \ No newline at end of file diff --git a/continew-system/src/main/java/top/continew/admin/system/service/impl/NoticeServiceImpl.java b/continew-system/src/main/java/top/continew/admin/system/service/impl/NoticeServiceImpl.java index 91d21c02..bf7a7bb6 100644 --- a/continew-system/src/main/java/top/continew/admin/system/service/impl/NoticeServiceImpl.java +++ b/continew-system/src/main/java/top/continew/admin/system/service/impl/NoticeServiceImpl.java @@ -182,8 +182,4 @@ public class NoticeServiceImpl extends BaseServiceImpl ids) { - noticeLogService.deleteByNoticeIds(ids); - } } \ No newline at end of file