From 114199eb5afd157779d01ae596af08f08878085c Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Wed, 24 Jan 2024 15:41:29 +0800 Subject: [PATCH] update --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index d572298..8ec058c 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()) + r = await request.body() + print(r) return try: data = await request.body()