From d4582a7cdaf3c6ec23664318b5f75f4bab2098fd Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Wed, 24 Jan 2024 15:37:04 +0800 Subject: [PATCH] update --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 5b26278..d572298 100644 --- a/main.py +++ b/main.py @@ -113,7 +113,8 @@ async def register(request: Request): @app.post("/api/xumu/data/collect") async def process_data(request: Request): # TODO mqtt检测 - + print(request.body()) + return try: data = await request.body() data = data.decode("utf-8")