mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-29 19:10:30 +00:00
7 lines
283 B
Python
7 lines
283 B
Python
from typing import List
|
|
from pydantic import BaseModel, Field
|
|
|
|
class Response(BaseModel):
|
|
code: int = Field(default=None, description="响应码")
|
|
message: str = Field(default=None, description="响应信息")
|
|
data: List = Field(default=None, description="响应数据")
|