Commit c93338fe authored by ZZH's avatar ZZH

fix 2023-7-20

parent fed8b6df
...@@ -104,7 +104,7 @@ async def stb_data_longgang_service(user_id, d_type): ...@@ -104,7 +104,7 @@ async def stb_data_longgang_service(user_id, d_type):
data["ts"] = data.pop("ts_origin") data["ts"] = data.pop("ts_origin")
await RedisUtils().setex(access_lim_key, 60, 1) await RedisUtils().setex(access_lim_key, 60, 1)
return StbDataResp(rows=datas, total=results.get("rows", 0)) return StbDataResp(rows=datas, total=len(datas))
async def get_power(user_id, cids): async def get_power(user_id, cids):
......
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