mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🐛 移除获取封禁缓存时的日志记录
This commit is contained in:
parent
61f559d605
commit
bb4dde7511
@ -160,10 +160,7 @@ async def _(cache_data: CacheData, user_id: str | None, group_id: str | None = N
|
|||||||
if not user_id and not group_id:
|
if not user_id and not group_id:
|
||||||
return []
|
return []
|
||||||
key = f"{group_id or ''}:{user_id or ''}"
|
key = f"{group_id or ''}:{user_id or ''}"
|
||||||
logger.info(f"获取封禁缓存: {key}")
|
|
||||||
data = await cache_data.get_key(key)
|
data = await cache_data.get_key(key)
|
||||||
if data:
|
|
||||||
logger.info(f"已存在缓存: {key}:{data}")
|
|
||||||
# if not data:
|
# if not data:
|
||||||
# start = time.time()
|
# start = time.time()
|
||||||
# if user_id and group_id:
|
# if user_id and group_id:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user