This commit is contained in:
xyj 2024-01-24 15:37:04 +08:00
parent 7c13b0cb57
commit d4582a7cda
1 changed files with 2 additions and 1 deletions

View File

@ -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")