From 45545260a36b57b594eb8329e95b7552cf6893f5 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Sun, 4 Aug 2024 15:46:55 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E6=96=B0=E5=A2=9E=E3=80=81=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../continew/admin/auth/model/resp/RouteResp.java | 12 ++++++++++++ .../db/changelog/mysql/continew-admin_data.sql | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/continew-admin-system/src/main/java/top/continew/admin/auth/model/resp/RouteResp.java b/continew-admin-system/src/main/java/top/continew/admin/auth/model/resp/RouteResp.java index 80ead42b..43c07604 100644 --- a/continew-admin-system/src/main/java/top/continew/admin/auth/model/resp/RouteResp.java +++ b/continew-admin-system/src/main/java/top/continew/admin/auth/model/resp/RouteResp.java @@ -38,6 +38,18 @@ public class RouteResp implements Serializable { @Serial private static final long serialVersionUID = 1L; + /** + * ID + */ + @Schema(description = "ID", example = "1010") + private Long id; + + /** + * 上级菜单 ID + */ + @Schema(description = "上级菜单ID", example = "1000") + private Long parentId; + /** * 标题 */ diff --git a/continew-admin-webapi/src/main/resources/db/changelog/mysql/continew-admin_data.sql b/continew-admin-webapi/src/main/resources/db/changelog/mysql/continew-admin_data.sql index 68b78a06..e5aa6b85 100644 --- a/continew-admin-webapi/src/main/resources/db/changelog/mysql/continew-admin_data.sql +++ b/continew-admin-webapi/src/main/resources/db/changelog/mysql/continew-admin_data.sql @@ -187,4 +187,8 @@ VALUES (4020, '任务日志', 4000, 2, '/schedule/log', 'ScheduleLog', 'schedule/log/index', NULL, 'find-replace', b'0', b'0', b'0', NULL, 2, 1, 1, NOW(), NULL, NULL), (4021, '查看', 4020, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'schedule:log:list', 1, 1, 1, NOW(), NULL, NULL), (4022, '停止', 4020, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'schedule:log:stop', 2, 1, 1, NOW(), NULL, NULL), -(4023, '重试', 4020, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'schedule:log:retry', 3, 1, 1, NOW(), NULL, NULL); \ No newline at end of file +(4023, '重试', 4020, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'schedule:log:retry', 3, 1, 1, NOW(), NULL, NULL); + +-- changeset Charles7c:3.2-2 +UPDATE `sys_menu` SET `type` = 2, `path` = '/system/notice/detail', name = 'SystemNoticeDetail', component = 'system/notice/page/detail', `is_external` = b'0', `is_cache` = b'0', `is_hidden` = b'1' WHERE `id` = 1091; +UPDATE `sys_menu` SET `type` = 2, `path` = '/system/notice/add', name = 'SystemNoticeAdd', component = 'system/notice/page/add', `is_external` = b'0', `is_cache` = b'0', `is_hidden` = b'1' WHERE `id` = 1092;