结构调整
视频解析多图/多媒体结构 消息体适配
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"""战备管理 API:作为统一 Web 的一个模块,挂到 /api/helldivers。
|
||||
|
||||
- 不再自己出 HTML,页面由统一前端 (hexi/web) 渲染。
|
||||
- 鉴权统一走 hexi.web_auth(OAuth2 + SQLite)。
|
||||
- 鉴权统一走 hexi.web_hub.web_auth(OAuth2 + SQLite)。
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -12,7 +12,7 @@ from pathlib import Path
|
||||
from fastapi import Depends, FastAPI, HTTPException, Request
|
||||
from fastapi.responses import FileResponse, JSONResponse
|
||||
|
||||
from hexi.web_auth import require_admin
|
||||
from hexi.web_hub.web_auth import require_admin
|
||||
|
||||
from ..services.equipment_store import (
|
||||
create_stratagem,
|
||||
|
||||
Reference in New Issue
Block a user