feat: update file download url

This commit is contained in:
Junyan Qin
2025-02-25 16:12:45 +08:00
parent 4db1d2b3a3
commit 9401a79b2b
8 changed files with 45 additions and 17 deletions
+1 -1
View File
@@ -86,11 +86,11 @@ class GewechatMessageConverter(adapter.MessageConverter):
try:
base64_str, image_format = await image.get_gewechat_image_base64(
gewechat_url=self.config["gewechat_url"],
gewechat_file_url=self.config["gewechat_file_url"]
app_id=self.config["app_id"],
xml_content=image_xml,
token=self.config["token"],
image_type=2,
download_image_port=self.config["gewechat_downloadImage_port"]
)
return platform_message.MessageChain([