fix: 今日新增筛选统计不准 + LLM提示词动态当前日期 + 微信配图按选题生成
topics.html:
- 今日新增筛选时全量拉取 allTopics 用于保持 stats 统计正确,todayTopics
存储服务端日期过滤结果
- filteredTopics 对 'today' 返回 todayTopics,不按不存在的 status 过滤
writer.py/research.py/outline.py:
- 所有 LLM 提示词注入今天的动态年月日(datetime.now)
- 禁用过时数据的年份改为动态 {当前年-1}-{当前年}
- 每个论点必须配真实最新案例+数据来源
writer.py WeChat 配图:
- 从 null placeholder 改为动态 SVG,展示选题标题+领域
- 标题自动换行(24字/行),附蓝色装饰条 + 渐变背景
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"id": "TOPIC-6DC1D7",
|
||||
"title": "从东京垂直农场:10平米 bal到上海阳台种菜年省 3000 元: 城市农业的中国实践指南",
|
||||
"cases": [
|
||||
"GLO-001",
|
||||
"CHN-001"
|
||||
],
|
||||
"audience": "城市焦虑青年(26-35岁)",
|
||||
"china_pain_points": "城市农业在中国面临的主要问题",
|
||||
"localization_solution": "国际案例中国化适配方案",
|
||||
"mvp_actions": "读者可立即尝试的3个行动",
|
||||
"estimated_length": 2500,
|
||||
"priority_score": 8,
|
||||
"field": "可持续生活系统",
|
||||
"format": "趋势洞察 + 实操指南",
|
||||
"core_concept": "基于2个城市农业案例,提炼本土化落地策略",
|
||||
"audience_pain": "城市农业领域常见的痛点与困惑",
|
||||
"unique_angle": "国际案例本土化:东京垂直农场:10平米 balcony 年产蔬菜 100kg与上海阳台种菜年省 3000 元:居民自种调查的中国实践",
|
||||
"priority": "中",
|
||||
"total_score": 80,
|
||||
"compliance_score": 100,
|
||||
"source_file": "automation/data/sustainability_topics.json",
|
||||
"ready_at": null,
|
||||
"published_at": null,
|
||||
"platform_urls": {},
|
||||
"status": "待处理",
|
||||
"lock_by": null,
|
||||
"lock_at": null,
|
||||
"created_at": "2026-05-16T01:31:16.746722"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user