fix: path traversal via URL-encoded ../, Feb 29 leap year crash, missing response_model, dead code, duplicate utcnow
This commit is contained in:
@@ -82,6 +82,14 @@ class AccountHistoryResponse(BaseModel):
|
||||
from_attributes = True
|
||||
|
||||
|
||||
class PaginatedAccountHistoryResponse(BaseModel):
|
||||
"""分页账户变更历史响应模型"""
|
||||
total: int
|
||||
page: int
|
||||
page_size: int
|
||||
records: List[AccountHistoryResponse] = []
|
||||
|
||||
|
||||
# ============ 分期还款计划 Schema ============
|
||||
|
||||
class DebtInstallmentBase(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user