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
|
from config import mp4_path, post_record_list_url, post_record_url, info_topic
|
||||||
|
|
||||||
|
|
||||||
class BaseResponse(BaseModel):
|
class BaseResponse:
|
||||||
code: int = pydantic.Field(200, description="MQTT Return Status Code")
|
code: int
|
||||||
msg: str = pydantic.Field("success", description="MQTT Status Message")
|
msg: str
|
||||||
|
|
||||||
|
|
||||||
# 统一返回
|
# 统一返回
|
||||||
|
|
Loading…
Reference in New Issue