add force update server api (#13)

This commit is contained in:
UUBulb
2024-11-20 21:36:21 +08:00
committed by GitHub
parent f6ecd26607
commit 9905390ba6
4 changed files with 50 additions and 3 deletions

View File

@@ -92,6 +92,7 @@ func routers(r *gin.Engine) {
auth.GET("/server", commonHandler(listServer))
auth.PATCH("/server/:id", commonHandler(updateServer))
auth.POST("/batch-delete/server", commonHandler(batchDeleteServer))
auth.POST("/force-update/server", commonHandler(forceUpdateServer))
auth.GET("/notification", commonHandler(listNotification))
auth.POST("/notification", commonHandler(createNotification))