加入转发图片内容

This commit is contained in:
liuwei
2025-06-13 15:03:03 +08:00
parent 27a5e81dfb
commit 09b5e20d28
2 changed files with 11 additions and 12 deletions

View File

@@ -661,7 +661,7 @@ class MessageMixin(WechatAPIClientBase):
async with aiohttp.ClientSession() as session:
json_param = {"Wxid": self.wxid, "ToWxid": wxid, "Content": xml}
response = await session.post(f'http://{self.ip}:{self.port}/SendCDNImgMsg', json=json_param)
response = await session.post(f'http://{self.ip}:{self.port}/Msg/SendCDNImg', json=json_param)
json_resp = await response.json()
if json_resp.get("Success"):