Try to add share code in download api.
This commit is contained in:
@ -80,7 +80,7 @@ func (this *DavController) CheckCurrentUser(writer http.ResponseWriter, request
|
||||
//要求前端使用Basic的形式授权
|
||||
writer.Header().Set("WWW-Authenticate", `Basic realm="Restricted"`)
|
||||
|
||||
panic(result.ConstWebResult(result.CODE_WRAPPER_LOGIN))
|
||||
panic(result.ConstWebResult(result.LOGIN))
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user