update
This commit is contained in:
9
main.py
9
main.py
@@ -515,6 +515,15 @@ def kp(event_data):
|
||||
newFriendDict = WXBotService.get_friend_info(
|
||||
account_wxid, wxid)
|
||||
print('newFriendDict==>',newFriendDict)
|
||||
allFriend = WXBotService.get_address_list(config.account_wxid)
|
||||
for friendItem in allFriend['data']["contactList"]:
|
||||
if friendItem['wxid'] == wxid:
|
||||
# if matchesString in friendItem['nickname']:
|
||||
newFriendDict = friendItem['wxid']
|
||||
print('newFriendDict222==>',newFriendDict)
|
||||
else:
|
||||
# print('通过nickname查不到wxid')
|
||||
pass
|
||||
|
||||
# 收到群聊消息
|
||||
if group:
|
||||
|
||||
Reference in New Issue
Block a user