This commit is contained in:
xyj 2024-01-24 15:41:29 +08:00
parent d4582a7cda
commit 114199eb5a
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") @app.post("/api/xumu/data/collect")
async def process_data(request: Request): async def process_data(request: Request):
# TODO mqtt检测 # TODO mqtt检测
print(request.body()) r = await request.body()
print(r)
return return
try: try:
data = await request.body() data = await request.body()