feat 更新响应模板
fix
This commit is contained in:
8
app/schemas/response_template.py
Normal file
8
app/schemas/response_template.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import Any, Optional
|
||||
|
||||
|
||||
class ResponseModel(BaseModel):
|
||||
code: int = 200
|
||||
msg: str = "OK!"
|
||||
data: Optional[Any] = None
|
||||
Reference in New Issue
Block a user