调整内容
This commit is contained in:
6
robot.py
6
robot.py
@@ -476,11 +476,11 @@ class Robot(Job):
|
||||
member_wxids = [member.get('wxid') for member in member_list if member.get('wxid')]
|
||||
|
||||
if member_wxids:
|
||||
# 将列表转换为集合,并直接传递参数
|
||||
# 按照官方接口格式传递参数
|
||||
details_response = self.client.get_chatroom_member_detail(
|
||||
self.app_id,
|
||||
set(member_wxids), # 转换为集合
|
||||
chatroom_id
|
||||
chatroom_id,
|
||||
member_wxids # 直接传递列表,不需要转换为集合
|
||||
)
|
||||
|
||||
# 使用ContactsDBOperator处理响应
|
||||
|
||||
Reference in New Issue
Block a user