Commit 4b866fc1 by Li Feifei

修复中文文件名无法被解析

parent 7746414d
Pipeline #15613 passed with stages
in 38 seconds
......@@ -9,6 +9,7 @@ import (
"image/jpeg"
"image/png"
"io/ioutil"
"os"
"path"
"regexp"
"strings"
......@@ -204,7 +205,7 @@ func (f *ObtainFile) Worker(err error) {
return
}
// 清理ZIP包
//defer os.Remove(f.parser.splitTempZipLink())
defer os.Remove(f.parser.splitTempZipLink())
g.Log().Async().Infof("file: %s Zip Donwload Complete", f.parser.name)
// 解析ZIP包并上传图片到OSS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment