feat: 数据源统一与前端预览修复
=== 后端核心 === - db_helper: 统一数据库访问抽象层 - system.py API: * 参数绑定修复: 使用 Body(embed=True) 接收 JSON * 添加请求日志记录 - sync.py: 仅导出 DB→JSON(备份) === 合规与流水线 === - compliance_checker: 标签检测优化(仅检查容器,避免正文误判) - 所有脚本(creator/collector/writer/outline/research等)统一使用数据库 === 前端改版 === - topics.html: * 创作/优化 API 路径修正 * 预览弹窗重设计:多平台并行加载、富文本显示、单复制按钮 * 状态中文映射(getStatusLabel) * 认证检查 - 所有 HTML 静态资源路径修复(移除 /static 前缀) === 数据一致性 === - 数据库状态统一为英文(pending/review/ready/published) - 前端显示中文化映射 已测试 A03 流水线完整通过。
This commit is contained in:
@@ -260,5 +260,22 @@
|
||||
"priority_score": 90,
|
||||
"status": "待处理",
|
||||
"cases": []
|
||||
},
|
||||
{
|
||||
"id": "A03",
|
||||
"title": "数字游民签证全解析:30个国家政策对比,中国护照能去哪些?",
|
||||
"field": "未来工作方式",
|
||||
"format": "对比分析 + 实操指南",
|
||||
"core_concept": "分析爱沙尼亚/葡萄牙/巴厘岛等30国游民签证,结合中国护照限制,给出签证+保险+税务+社群的完整路线",
|
||||
"audience_pain": "想地理套利但被签证和社保困扰",
|
||||
"unique_angle": "不是简单列出签证,而是给出中国护照持有者的可行组合方案(如泰国+大马+巴厘岛)",
|
||||
"priority": "高",
|
||||
"priority_score": 90,
|
||||
"status": "ready",
|
||||
"cases": [],
|
||||
"lock_by": null,
|
||||
"lock_at": null,
|
||||
"ready_at": "2026-05-07",
|
||||
"compliance_score": 100
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user