update:1.更新导入导出功能,支持大纲细化结构

This commit is contained in:
xiamuceer
2025-11-19 14:50:28 +08:00
parent fb4ccad402
commit 8b66945823
2 changed files with 69 additions and 24 deletions
+5
View File
@@ -19,6 +19,11 @@ class ChapterExportData(BaseModel):
word_count: int = 0
status: str = "draft"
created_at: Optional[str] = None
# 大纲细化功能新增字段
outline_title: Optional[str] = None # 关联的大纲标题(用于导入时重建关联)
sub_index: Optional[int] = None # 大纲下的子章节序号
expansion_plan: Optional[Dict[str, Any]] = None # 展开规划详情(JSON对象)
class CharacterExportData(BaseModel):