Add app/response.py

This commit is contained in:
2024-02-15 17:46:57 +08:00
parent 91fb969972
commit 44ffbeb503

11
app/response.py Normal file
View File

@@ -0,0 +1,11 @@
from typing import TypedDict
class Msg(TypedDict):
message: str
tag: str
class JsonResponBase(TypedDict):
status: int
class JsonResponMsg(JsonResponBase):
body: Msg