auth.py is a duplication of google.py; rename jwt.py -> tokens.py avoid confuse with pyjwt

This commit is contained in:
2026-05-19 23:23:21 +08:00
parent a073fa5962
commit 2b5e193046
6 changed files with 4 additions and 201 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import os
from fastapi import APIRouter, Depends, HTTPException, Request
from .deps import get_current_user
from .jwt import create_jwt_token, create_refresh_token, verify_access_token, decode_token
from .tokens import create_jwt_token, create_refresh_token, verify_access_token, decode_token
from .oauth import oauth_router
# 创建全局 auth 路由器