mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
refactor: rename monitor -> service
This commit is contained in:
@@ -63,10 +63,10 @@ func routers(r *gin.Engine) {
|
||||
auth.POST("/user", commonHandler(createUser))
|
||||
auth.POST("/batch-delete/user", commonHandler(batchDeleteUser))
|
||||
|
||||
auth.GET("/monitor", commonHandler(listMonitor))
|
||||
auth.POST("/monitor", commonHandler(createMonitor))
|
||||
auth.PATCH("/monitor/:id", commonHandler(updateMonitor))
|
||||
auth.POST("/batch-delete/monitor", commonHandler(batchDeleteMonitor))
|
||||
auth.GET("/service", commonHandler(listService))
|
||||
auth.POST("/service", commonHandler(createService))
|
||||
auth.PATCH("/service/:id", commonHandler(updateService))
|
||||
auth.POST("/batch-delete/service", commonHandler(batchDeleteService))
|
||||
|
||||
auth.POST("/server-group", commonHandler(createServerGroup))
|
||||
auth.PATCH("/server-group/:id", commonHandler(updateServerGroup))
|
||||
|
||||
Reference in New Issue
Block a user