mirror of
https://github.com/TheSmallHanCat/flow2api.git
synced 2026-05-18 04:58:47 +08:00
fix: 图片模型多图支持、重置错误计数
feat: 账号类型分配模型配额 Fixes #5,#7
This commit is contained in:
@@ -499,7 +499,7 @@ async def get_stats(token: str = Depends(verify_admin_token)):
|
||||
if stats:
|
||||
total_images += stats.image_count
|
||||
total_videos += stats.video_count
|
||||
total_errors += stats.error_count
|
||||
total_errors += stats.error_count # Historical total errors
|
||||
today_images += stats.today_image_count
|
||||
today_videos += stats.today_video_count
|
||||
today_errors += stats.today_error_count
|
||||
|
||||
Reference in New Issue
Block a user