add download message image
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-01-17 17:30:55 +08:00
1 parent 69e7b4d02e
commit 09d16954bc
1 file changed
+3
+3
View File
@@ -32,6 +32,9 @@ def get_message_resource(client, message_id, file_key, file_type, save_dir):
)
return
# 处理业务结果
lark.logger.info(lark.JSON.marshal(response.data, indent=4))
# 处理业务结果
file_path = os.path.join(save_dir, response.file_name)
f = open(file_path, "wb")