跳到主要内容

update_file

更新文件,将替换指定路径下的现有文件

声明

FileUploadResponse update_file(string relative_path, mixed data, FileOptions option = nil)

参数

参数名描述
relative_path文件路径,包含文件名。格式应为 folder/subfolder/filename.png
data文件数据
option文件选项

返回值

FileUploadResponse 文件上传响应

使用方式

返回文档