This commit is contained in:
1-6
2023-07-27 10:01:13 +08:00
parent 116d4b6359
commit 41c8fc7233
5 changed files with 44 additions and 26 deletions
+1
View File
@@ -84,6 +84,7 @@ func initWeb() {
if _, err := os.Stat(dir); err != nil { //执行压缩
return
}
dir = strings.ReplaceAll(dir, "\\", "/")
ss := strings.Split(dir, "/")
name := ss[len(ss)-1]
buf := new(bytes.Buffer)