版本1.0.4 - 发布前准备
- 修复system.py缩进错误 - 优化前端页面样式(待重构) - 改进API接口结构 - 完善文档和自动化脚本 - 平台基本功能稳定运行
This commit is contained in:
@@ -31,10 +31,10 @@ def get_status(db: Session = Depends(get_db)):
|
||||
|
||||
# 确保返回所有状态
|
||||
status_map = {
|
||||
'待处理': by_status.get('pending', 0),
|
||||
'待审查': by_status.get('review', 0),
|
||||
'待发布': by_status.get('ready', 0),
|
||||
'已发布': by_status.get('published', 0)
|
||||
'pending': by_status.get('pending', 0),
|
||||
'review': by_status.get('review', 0),
|
||||
'ready': by_status.get('ready', 0),
|
||||
'published': by_status.get('published', 0)
|
||||
}
|
||||
|
||||
# 计算今日新增
|
||||
|
||||
Reference in New Issue
Block a user