发布(0.4.1): 优化分配性能与客服数据边界

修复分配页皮肤查询并发慢查询;客服导入账号严格限制为本人名下;分配概览改用真实归属数量;标题区展示版本并提示刷新。
This commit is contained in:
yml
2026-11-26 21:19:11 +08:00
parent 174ae23ac1
commit 7dfc9d725e
15 changed files with 409 additions and 106 deletions
+5 -2
View File
@@ -41,7 +41,7 @@ from .routers import (
)
from .schemas import AppInfo
from .session import SessionRenewalMiddleware
from .version import get_app_version
from .version import get_app_version, get_frontend_release_id
@asynccontextmanager
@@ -203,7 +203,10 @@ async def health():
@app.get("/api/app-info", response_model=AppInfo)
def app_info():
return AppInfo(version=get_app_version())
return AppInfo(
version=get_app_version(),
release_id=get_frontend_release_id(),
)
# ---- 生产环境:serve 前端静态文件 ----