refactor(backend): 重构后端

This commit is contained in:
sophie committed 2026-07-01 21:18:35 +08:00
1 parent c8054476c1
commit bba6e6f221
32 files changed
+252 -296

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ backend/app/core/auth/jwt.py
用途:Casdoor JWT 校验、legacy header 回退与当前用户解析。
依赖:app.extensions.db、app.models.User、PyJWT、requests。
逻辑:api 层与 decorators 调用 get_current_user();旧路径 app.auth_jwt 为兼容 shim。
逻辑:api 层与 decorators 调用 get_current_user()。
"""
from __future__ import annotations