From 26e5fedf4bb7c15c49bdb366572ceec65b270029 Mon Sep 17 00:00:00 2001 From: xiaofajia <1665375861@qq.com> Date: Thu, 10 Oct 2024 16:42:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=85=AC=E5=91=8A-=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/notice/controller/admin/DlBaseNoticeController.java | 2 +- .../cn/iocoder/yudao/module/notice/entity/DlBaseNotice.java | 3 ++- yudao-server/src/main/resources/application.yaml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/controller/admin/DlBaseNoticeController.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/controller/admin/DlBaseNoticeController.java index 767afdef..ecaade36 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/controller/admin/DlBaseNoticeController.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/controller/admin/DlBaseNoticeController.java @@ -75,7 +75,7 @@ public class DlBaseNoticeController { return CommonResult.ok(); } - @GetMapping("get") + @GetMapping("/get") @Operation(summary = "平台通用信息公告 查询 按服务") public CommonResult getNoticeById(@RequestParam("id") String id) { return success(dlBaseNoticeService.getById(id)); diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/entity/DlBaseNotice.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/entity/DlBaseNotice.java index 7afcb0c2..1d19eb53 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/entity/DlBaseNotice.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/notice/entity/DlBaseNotice.java @@ -1,5 +1,6 @@ package cn.iocoder.yudao.module.notice.entity; +import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; @@ -16,7 +17,7 @@ import lombok.EqualsAndHashCode; @TableName(value ="dl_base_notice") @Data @EqualsAndHashCode(callSuper = true) -public class DlBaseNotice extends TenantBaseDO { +public class DlBaseNotice extends BaseDO { /** * 公告ID */ diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index 5abc9474..232d9df4 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -296,6 +296,7 @@ yudao: - /admin-api/rescue/driverLogin - /admin-api/rescuePayApi/payNotify - /admin-api/payApi/payNotify + - /admin-api/base/notice/** ignore-tables: - system_tenant @@ -342,6 +343,7 @@ yudao: - tmp_report_data_1 - tmp_report_data_income - system_users + - dl_base_notice ignore-caches: - permission_menu_ids - oauth_client