|
|
|
@ -118,7 +118,8 @@ func Supfile(w http.ResponseWriter, r *http.Request) { |
|
|
|
bpath := util.Base64dec(sbpath[0]) |
|
|
|
bfile := util.Base64dec(sbfile[0]) |
|
|
|
// 替换 反斜杠
|
|
|
|
bbpath := strings.Replace(bpath, "/", "\\", -1) |
|
|
|
bbpath := strings.Replace(bpath, "\\", "/", -1) |
|
|
|
//replacedPath := strings.ReplaceAll(path, "\\", "/")
|
|
|
|
// 拼装, 文件的实际地址
|
|
|
|
ziprl := filepath.Join(config.G.FilePath, "/", bbpath, "/", bfile) |
|
|
|
|
|
|
|
|