dev_daiao
guange 5 years ago
parent 9a12af098c
commit 007a18a781

@ -18,6 +18,9 @@ class GitService
Faraday::FilePart.new(full_file_path, 'application/octet-stream')
end
#上传二进制文件
#参数构造形式
# {a: 'a', file: make_new_multipar_file('1.txt') }
def update_file_binary(params)
post_form('update_file', params)
end

Loading…
Cancel
Save