diff --git a/xumu.py b/xumu.py index 91e0268..b51574e 100644 --- a/xumu.py +++ b/xumu.py @@ -28,7 +28,7 @@ async def data_query(username): @app.get("/api/xumu/device/online") async def device_online_query(iccid, deviceId): try: - sql = "select is_online from root.farm.clientId where time >= 0" + sql = "select * from root.farm.clientId where time >= 0" # 检查iccid是否有值,如果有,添加到SQL语句中 if iccid: sql += f" and iccid = '{iccid}'"