新增帮助文档管理

This commit is contained in:
六如
2025-06-15 15:27:43 +08:00
parent c18ee0dff9
commit 4d70c5167d
36 changed files with 2649 additions and 5 deletions

18
sop.sql
View File

@@ -474,3 +474,21 @@ INSERT INTO `sys_user_role` (`id`, `role_id`, `user_id`, `add_time`, `update_tim
-- ALTER
ALTER TABLE `api_info`
ADD COLUMN `api_mode` tinyint(4) NULL DEFAULT '1' COMMENT '接口模式1-open接口2-Restful模式' AFTER `reg_source`;
-- 2025-06-15
CREATE TABLE `help_doc` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`label` varchar(64) NOT NULL DEFAULT '' COMMENT '文档名称',
`sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
`is_deleted` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除',
`status` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '状态1启用2禁用',
`content` longtext COMMENT '内容',
`content_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '内容类型,1-Markdown,2-富文本',
`parent_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '父级id',
`add_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
`add_by` bigint(20) DEFAULT '0' COMMENT '创建人id',
`update_by` bigint(20) DEFAULT '0' COMMENT '修改人id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='帮助内容表';