初步完成能使用refresh token访问的bug

This commit is contained in:
carry
2025-02-14 16:49:22 +08:00
parent 4ba89c8ccc
commit 375077be69
2 changed files with 10 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ class TokenPayload(BaseModel):
username: str
role: str
exp: int
token_type: str
class LoginRequest(BaseModel):
username: str