feat: 增加使用期限激活限制

This commit is contained in:
2026-05-20 11:27:07 +08:00
parent fcac708814
commit 90023663fd
12 changed files with 508 additions and 22 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import FileResponse, JSONResponse
from app import state
from app.api.routers import auth, cache, config, database, health, history, remote, script, service, tasks, upload
from app.api.routers import auth, cache, config, database, health, history, license, remote, script, service, tasks, upload
from app.auth import verify_jwt_token
from app.config import BASE_DIR
@@ -64,6 +64,7 @@ def register_routes(app: FastAPI) -> None:
remote.router,
tasks.router,
history.router,
license.router,
database.router,
config.router,
cache.router,