@ -28,7 +28,7 @@ async def video_query(username):
@app.get("/api/xumu/warning")
async def get_warning(deviceId):
try:
sql = f"select * from root.farm.{deviceId}"
sql = f"select * from root.warning.{deviceId}"
# 检查iccid是否有值,如果有,添加到SQL语句中
send_json = {
"sql": sql