chore: initial commit — leaudit-platform project skeleton
17-table PostgreSQL schema with full Chinese column comments, FastAPI project structure (admin/common/modules), DSL rule files, and schema migration scripts.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
"""认证 VO(控制器层 + 服务层使用)。"""
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class LoginTokenVO(BaseModel):
|
||||
"""登录响应。"""
|
||||
|
||||
access_token: str = Field(..., description="JWT Token")
|
||||
token_type: str = Field("Bearer", description="Token 类型")
|
||||
expires_in: int = Field(..., description="Token 过期时间(秒)")
|
||||
issued_time: str = Field(..., description="签发时间 YYYY-MM-DD HH:MM:SS")
|
||||
user_info: dict = Field(..., description="用户信息")
|
||||
Reference in New Issue
Block a user