版本1.0.4 - 发布前准备

- 修复system.py缩进错误
- 优化前端页面样式(待重构)
- 改进API接口结构
- 完善文档和自动化脚本
- 平台基本功能稳定运行
This commit is contained in:
lt
2026-04-29 09:32:43 +08:00
parent 0a31ae09af
commit e1ba31afda
96 changed files with 165251 additions and 376 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ from app.models import Topic, User
router = APIRouter()
class PublishRequest(BaseModel):
topic_id: int
topic_id: str
@router.post("/create")
async def create_publication(
@@ -52,7 +52,7 @@ async def create_publication(
# 更新选题状态和发布时间
topic.published_at = datetime.utcnow()
topic.published_urls = urls
topic.platform_urls = urls
topic.status = "已发布"
topic.updated_at = datetime.utcnow()