ddns: add listProviders api (#446)

* ddns: add listProviders api

* fix swagger
This commit is contained in:
UUBulb
2024-10-22 00:04:17 +08:00
committed by GitHub
parent 7e6864fa8c
commit 15585ef12e
6 changed files with 57 additions and 92 deletions

View File

@@ -71,6 +71,7 @@ func routers(r *gin.Engine) {
auth.POST("/batch-delete/server", commonHandler(batchDeleteServer))
auth.GET("/ddns", commonHandler(listDDNS))
auth.GET("/ddns/providers", commonHandler(listProviders))
auth.POST("/ddns", commonHandler(newDDNS))
auth.PATCH("/ddns/:id", commonHandler(editDDNS))
auth.POST("/batch-delete/ddns", commonHandler(batchDeleteDDNS))