upload project source code

This commit is contained in:
2026-04-30 18:49:43 +08:00
commit 9b394ba682
2277 changed files with 660945 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
-- 方案板块表
CREATE TABLE `yifan_solution_sections` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
`created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updated_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`created_id` int(11) DEFAULT NULL COMMENT '创建人ID',
`updated_id` int(11) DEFAULT NULL COMMENT '更新人ID',
`is_deleted` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除(0否 1是)',
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态(0禁用 1启用)',
`solution_id` int(11) NOT NULL COMMENT '关联方案ID',
`section_type` varchar(50) NOT NULL COMMENT '板块类型(ditiantai:地天泰 kaiyun_jingnang:开运锦囊 shici:诗词出处 wuxing:五行分布 liuyao:六维格局 jiazu:家族起名 bihua:笔画数理 ziyi_shengxiao:字义生肖 zonghe_pingfen:综合评分)',
`title` varchar(100) DEFAULT NULL COMMENT '板块标题',
`summary_data` json DEFAULT NULL COMMENT '摘要数据(首页卡片展示)',
`sort_order` int(11) DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`id`),
KEY `idx_solution_id` (`solution_id`),
KEY `idx_section_type` (`section_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='方案板块表';