diff --git a/xumu.py b/xumu.py index 3376f12..345ffc2 100644 --- a/xumu.py +++ b/xumu.py @@ -165,7 +165,7 @@ async def register(request: Request): # "sql": f"insert into root.device(iccid, deviceId, type) values('{iccid}', '{deviceId}', {type})" # } res = [] - r = requests.post(baseHost + nonQueryUri, headers=headers, json=send_json) + r = requests.post(baseHost + insertUri, headers=headers, json=send_json) res.append(r.json()) # 插入设备状态表 send_json = {