feat(webdav): support setting download proxy

This commit is contained in:
Aaron Liu
2023-07-29 08:53:26 +08:00
parent ad6c6bcd93
commit a1747073df
9 changed files with 77 additions and 19 deletions

View File

@@ -721,8 +721,8 @@ func InitMasterRouter() *gin.Engine {
webdav.POST("accounts", controllers.CreateWebDAVAccounts)
// 删除账号
webdav.DELETE("accounts/:id", controllers.DeleteWebDAVAccounts)
// 更新账号可读性
webdav.PATCH("accounts", controllers.UpdateWebDAVAccountsReadonly)
// 更新账号可读性和是否使用代理服务
webdav.PATCH("accounts", controllers.UpdateWebDAVAccounts)
}
}