add force update server api (#13)

This commit is contained in:
UUBulb authored and GitHub committed 2024-11-20 21:36:21 +08:00
1 parent c74987490d
commit 1c3fd9af1c
4 files changed
+50 -3

No files matched your search

+1
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))