From 7f93f144323dcab858c76e5962a281f5d8bc446a Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 30 Apr 2025 16:37:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=85=A5=E7=BE=A4=E6=8F=90?= =?UTF-8?q?=E9=86=92=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/group_member_change/main.py | 6 ------ wechat_ipad/client/message.py | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/plugins/group_member_change/main.py b/plugins/group_member_change/main.py index 177a7a4..83722aa 100644 --- a/plugins/group_member_change/main.py +++ b/plugins/group_member_change/main.py @@ -174,12 +174,6 @@ class GroupMemberChangePlugin(MessagePluginInterface): """ await bot.send_link_xml_message(xml_content, roomid) - # if members: - # gewe_client.client.post_link(gewe_client.client.app_id, sender, - # title=f"👏欢迎 {nickname} 加入群聊!🎉", - # description=f"⌚时间:{now}\n", - # url="https://hot.imsyy.top/#/", - # thumb_url=profile.data[0].big_head_img_url) return True, "已发送进群欢迎语" return False, "无需执行" diff --git a/wechat_ipad/client/message.py b/wechat_ipad/client/message.py index e316a90..d036b6f 100644 --- a/wechat_ipad/client/message.py +++ b/wechat_ipad/client/message.py @@ -471,7 +471,7 @@ class MessageMixin(WechatAPIClientBase): async with aiohttp.ClientSession() as session: json_param = {"Wxid": self.wxid, "ToWxid": wxid, "Md5": md5, "TotalLen": total_length} - response = await session.post(f'http://{self.ip}:{self.port}/SendEmojiMsg', json=json_param) + response = await session.post(f'http://{self.ip}:{self.port}/api/Msg/SendEmoji', json=json_param) json_resp = await response.json() if json_resp.get("Success"):