feat: parse uploaded review mind maps

This commit is contained in:
2026-06-20 10:33:14 +08:00
parent f170e85297
commit 5f3f35c53b
9 changed files with 570 additions and 0 deletions
@@ -0,0 +1,26 @@
alter table review_mind_maps
add column source_type varchar(30) not null default 'MANUAL' comment '来源类型:MANUAL/FILE';
alter table review_mind_maps
add column file_name varchar(255) null comment '原始文件名';
alter table review_mind_maps
add column file_path varchar(1024) null comment '服务端文件路径';
alter table review_mind_maps
add column file_format varchar(30) null comment '文件格式:XMIND/MARKDOWN/OPML/FREEMIND/TEXT';
alter table review_mind_maps
add column parsed_content mediumtext null comment '解析后的统一结构JSON';
alter table review_mind_maps
add column parse_status varchar(30) not null default 'SUCCESS' comment '解析状态:SUCCESS/FAILED';
alter table review_mind_maps
add column parse_error text null comment '解析错误';
alter table review_mind_maps
add column summary text null comment '解析摘要';
alter table review_mind_maps
add column last_parsed_time datetime null comment '最近解析时间';