Refine the directory structure of this project.

This commit is contained in:
zicla
2019-04-24 19:36:10 +08:00
parent a353ff1303
commit daa5847859
22 changed files with 517 additions and 415 deletions

View File

@ -7,6 +7,7 @@ import (
"net/http"
"regexp"
"strings"
"tank/rest/result"
)
/**
@ -77,7 +78,7 @@ func (this *DavController) CheckCurrentUser(writer http.ResponseWriter, request
//要求前端使用Basic的形式授权
writer.Header().Set("WWW-Authenticate", `Basic realm="Restricted"`)
panic(ConstWebResult(CODE_WRAPPER_LOGIN))
panic(result.ConstWebResult(result.CODE_WRAPPER_LOGIN))
}