This commit is contained in:
1 parent
69e7b4d02e
commit
09d16954bc
1 file changed
+3
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user