mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
ddns: add listProviders api (#446)
* ddns: add listProviders api * fix swagger
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user