Browse Source

去除调试信息

master
453530270@qq.com 2 years ago
parent
commit
9db0b71449
  1. 2
      fsv2/handler/serverinfo.go

2
fsv2/handler/serverinfo.go

@ -43,10 +43,8 @@ func SerInfo(w http.ResponseWriter, r *http.Request) {
// urlpath 进行base64 解码 // urlpath 进行base64 解码
dsrpath := util.Base64dec(urlpath) dsrpath := util.Base64dec(urlpath)
// fmt.Printf("usl:%s\n", urlpath)
// 监听的根目录 // 监听的根目录
realFilePath := filepath.Join(config.G.FilePath, dsrpath) realFilePath := filepath.Join(config.G.FilePath, dsrpath)
fmt.Printf("real path is :%s\n", realFilePath)
// 时间目录的情况 // 时间目录的情况
fileInfo, err := os.Stat(realFilePath) fileInfo, err := os.Stat(realFilePath)
if err != nil { if err != nil {

Loading…
Cancel
Save