瀏覽代碼

调整

d1
H Vs 3 週之前
父節點
當前提交
d1f1c7df8e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      services/gewe_service.py

+ 2
- 2
services/gewe_service.py 查看文件

@@ -1046,11 +1046,11 @@ class GeWeService:
cursor = 0
while True:
cursor, login_keys =await self.redis_service.client.scan(cursor, match='__AI_OPS_WX__:LOGININFO:*')
print(f'login_keys:{login_keys}')
#print(f'login_keys:{login_keys}')
# 批量获取所有键的 hash 数据
for k in login_keys:
r = await self.redis_service.get_hash(k)
print(r)
#print(r)
if r.get("appId") == app_id:
return k,r


Loading…
取消
儲存