From 47223a6a60e56c1722df4c8e4e9e0a889fef38cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Mon, 3 Jun 2024 14:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/mysql/maku.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/mysql/maku.sql b/db/mysql/maku.sql index 94d79c4..b3a534e 100644 --- a/db/mysql/maku.sql +++ b/db/mysql/maku.sql @@ -210,6 +210,8 @@ create table sys_dict_type dict_sql varchar(500) COMMENT '动态SQL', remark varchar(255) COMMENT '备注', sort int COMMENT '排序', + pid bigint COMMENT '上级节点', + has_child tinyint default 0 COMMENT '是否有子节点', tenant_id bigint COMMENT '租户ID', version int COMMENT '版本号', deleted tinyint COMMENT '删除标识 0:正常 1:已删除', @@ -357,7 +359,6 @@ INSERT INTO sys_menu (id, pid, name, url, authority, type, open_style, icon, sor INSERT INTO sys_menu (id, pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (43, 1, '接口文档', '{{apiUrl}}/doc.html', null, 0, 1, 'icon-file-text-fill', 10, 0, 0, 10000, now(), 10000, now()); INSERT INTO sys_menu (id, pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (44, 38, '操作日志', 'sys/log/operate', 'sys:operate:all', 0, 0, 'icon-file-text', 1, 0, 0, 10000, now(), 10000, now()); INSERT INTO sys_menu (id, pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (45, 1, '第三方配置', 'sys/third/config/index', 'third:config:all', 0, 0, 'icon-menu', 0, 0, 0, 10000, now(), 10000, now()); -INSERT INTO sys_menu (id, pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (46, NULL, '企业版', 'https://maku.net/price', '', 0, 1, 'icon-sketch', 99, 0, 0, 10000, now(), 10000, now()); INSERT INTO sys_dict_type (id, dict_type, dict_name, remark, sort, tenant_id, version, deleted, creator, create_time, updater, update_time) VALUES (1, 'post_status', '状态', '岗位管理', 0, 10000, 0, 0, 10000, now(), 10000, now());