From 639d9f61cbdca232002baea3104a042979c4f5a6 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 18 Dec 2023 11:17:47 +0800 Subject: [PATCH] update --- tool.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool.py b/tool.py index 405012a..a69092a 100755 --- a/tool.py +++ b/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 # 统一返回