Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

Commit

Permalink
Update webdav.go
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong committed Oct 16, 2021
1 parent 045eb69 commit e882c15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webdav/webdav.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ func (h *Handler) handleCopyMove(w http.ResponseWriter, r *http.Request) (status
ctx := r.Context()

if r.Method == "MOVE" {
fmt.Println("move")
//fmt.Println("move")
}

if r.Method == "COPY" {
Expand Down Expand Up @@ -742,7 +742,7 @@ func (h *Handler) handlePropfind(w http.ResponseWriter, r *http.Request) (status
} else if len(reqPath) == 0 {
list, err = aliyun.GetList(h.Config.Token, h.Config.DriveId, "")
if err != nil {
fmt.Println("获取列表失败")
//fmt.Println("获取列表失败")
}
} else if len(reqPath) > 0 && !strings.HasSuffix(reqPath, "/") {
strArr := strings.Split(reqPath, "/")
Expand Down

0 comments on commit e882c15

Please sign in to comment.