Commit 4b866fc1 by Li Feifei

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

parent 7746414d
Pipeline #15613 passed with stages
in 38 seconds
...@@ -9,6 +9,7 @@ import ( ...@@ -9,6 +9,7 @@ import (
"image/jpeg" "image/jpeg"
"image/png" "image/png"
"io/ioutil" "io/ioutil"
"os"
"path" "path"
"regexp" "regexp"
"strings" "strings"
...@@ -204,7 +205,7 @@ func (f *ObtainFile) Worker(err error) { ...@@ -204,7 +205,7 @@ func (f *ObtainFile) Worker(err error) {
return return
} }
// 清理ZIP包 // 清理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) g.Log().Async().Infof("file: %s Zip Donwload Complete", f.parser.name)
// 解析ZIP包并上传图片到OSS // 解析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