update
This commit is contained in:
parent
a6db80feca
commit
639d9f61cb
6
tool.py
6
tool.py
|
@ -9,9 +9,9 @@ from pydantic import BaseModel
|
|||
from config import mp4_path, post_record_list_url, post_record_url, info_topic
|
||||
|
||||
|
||||
class BaseResponse(BaseModel):
|
||||
code: int = pydantic.Field(200, description="MQTT Return Status Code")
|
||||
msg: str = pydantic.Field("success", description="MQTT Status Message")
|
||||
class BaseResponse:
|
||||
code: int
|
||||
msg: str
|
||||
|
||||
|
||||
# 统一返回
|
||||
|
|
Loading…
Reference in New Issue