This commit is contained in:
xyj 2024-02-05 10:13:48 +08:00
parent 6aeb45df99
commit fa44f490e2
1 changed files with 1 additions and 1 deletions

View File

@ -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