add: user upload image

This commit is contained in:
2022-01-03 22:32:09 +08:00
parent cfd94cb3b7
commit f339df699e
4 changed files with 18 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ module Util
file.write(io)
end
end
true
end
def download_file(url, save_path)