更新数据库初始化方法,修改用户昵称字段,调整响应模型数据类型,简化站点健康检查接口,移除不必要的服务函数

This commit is contained in:
2025-12-17 17:33:53 +08:00
parent 35efbdf000
commit a0afcbaa90
5 changed files with 5 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ class ResponseBase(BaseModel):
"""
class DefaultResponse(BaseModel):
code: int = 0
data: dict | list | bool | SQLModelBase | None = None
data: str | dict | list | bool | SQLModelBase | None = None
msg: str = ""
# FastAPI 鉴权返回模型