update
This commit is contained in:
parent
6aeb45df99
commit
fa44f490e2
2
xumu.py
2
xumu.py
|
@ -28,7 +28,7 @@ async def video_query(username):
|
||||||
@app.get("/api/xumu/warning")
|
@app.get("/api/xumu/warning")
|
||||||
async def get_warning(deviceId):
|
async def get_warning(deviceId):
|
||||||
try:
|
try:
|
||||||
sql = f"select * from root.farm.{deviceId}"
|
sql = f"select * from root.warning.{deviceId}"
|
||||||
# 检查iccid是否有值,如果有,添加到SQL语句中
|
# 检查iccid是否有值,如果有,添加到SQL语句中
|
||||||
send_json = {
|
send_json = {
|
||||||
"sql": sql
|
"sql": sql
|
||||||
|
|
Loading…
Reference in New Issue