update
This commit is contained in:
parent
bafd5eb5ac
commit
3811de2827
4
xumu.py
4
xumu.py
|
@ -146,8 +146,10 @@ async def process_data(request: Request):
|
|||
return BaseResponse(code=301, msg="data valid error")
|
||||
m = payload["m"]
|
||||
v = payload["v"]
|
||||
t = payload["t"]
|
||||
cid = v[0]
|
||||
t = v[-1]
|
||||
m.append("t")
|
||||
v.append(t)
|
||||
send_json = {
|
||||
"devices": ["root.farm." + cid],
|
||||
"timestamps": [int(time.time() * 1000)],
|
||||
|
|
Loading…
Reference in New Issue