|
|
|
@ -52,8 +52,6 @@ func Flist(w http.ResponseWriter, r *http.Request) { |
|
|
|
basepath := "/www/wwwroot" |
|
|
|
// 拼装路径,并转位unix路径
|
|
|
|
newpath := filepath.ToSlash(filepath.Join(basepath, wdir)) |
|
|
|
|
|
|
|
fmt.Printf("newpath:%v\n", newpath) |
|
|
|
// basepath = fmt.Sprintf("%v%v", basepath, wdir)
|
|
|
|
// 调用远程方法
|
|
|
|
var reply string |
|
|
|
|