Commit ce708025 authored by ZZH's avatar ZZH

fix opendata test 2023-12-15

parent 5f4887a7
......@@ -176,7 +176,7 @@ async def post_home_page_alarm_stats(req, body: HomeAlarmStatsReq) -> \
async def main():
from pot_libs.logger import slowlog
import logging
cid = 223
# start = "2023-11-30 08:10:59"
# end = "2023-11-30 09:22:59"
......@@ -185,8 +185,8 @@ async def main():
while True:
rlt = await new_list_alarm_service(cid, storey_ids, 0, 100,
None, None, [1, 2], None, 4)
slowlog.info(f"alarms:{rlt}")
print(rlt)
print(rlt.total, rlt.rows)
logging.info(rlt.total, rlt.rows)
await asyncio.sleep(300)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment