调整内容
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')]
|
member_wxids = [member.get('wxid') for member in member_list if member.get('wxid')]
|
||||||
|
|
||||||
if member_wxids:
|
if member_wxids:
|
||||||
# 修改参数顺序:先传入app_id,再传入wxids列表,最后传入chatroom_id
|
# 将列表转换为集合,并直接传递参数
|
||||||
details_response = self.client.get_chatroom_member_detail(
|
details_response = self.client.get_chatroom_member_detail(
|
||||||
self.app_id,
|
self.app_id,
|
||||||
wxids=member_wxids,
|
set(member_wxids), # 转换为集合
|
||||||
chatroom_id=chatroom_id
|
chatroom_id
|
||||||
)
|
)
|
||||||
|
|
||||||
# 使用ContactsDBOperator处理响应
|
# 使用ContactsDBOperator处理响应
|
||||||
|
|||||||
Reference in New Issue
Block a user