@@ -641,7 +641,7 @@ def handle_add_friend_notice(token_id,app_id, wxid,msg_data,from_wxid, to_wxid): | |||
# 操作类型,2添加好友 3同意好友 4拒绝好友 | |||
#option=2 | |||
option=3 | |||
reply_add_contact_contact="亲,我是你的美丽顾问" | |||
reply_add_contact_contact="亲,我是你的好友" | |||
ret,ret_msg=gewe_chat.wxchat.add_contacts(token_id,app_id,scene,option,v3,v4,reply_add_contact_contact) | |||
if ret==200: | |||
logger.info('自动添加好友成功') | |||