save image to uuid name

This commit is contained in:
moicen
2022-06-26 17:49:50 +08:00
parent 46f27ba9d5
commit 6648a4f1ee
6 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ local function convert()
local result, _, code = os.execute(cmd)
if result and code == 0 then
ngx.log(ngx.INFO, "result -> ", result);
upyun_upload.upload(converted_audio_file)
upyun_upload.upload(converted_audio_file, nil);
else
ngx.status = 500
ngx.log(ngx.ERR, "AUDIO CONVERT *FAILED*")