update
This commit is contained in:
parent
d4582a7cda
commit
114199eb5a
3
main.py
3
main.py
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue