This commit is contained in:
panda
2023-04-06 21:56:53 +08:00
parent cf079d5a47
commit adc96f4176
3 changed files with 18 additions and 2 deletions

View File

@@ -11,5 +11,6 @@ func InitSystemRouter(container *restful.Container) {
ws.Path("/system").Produces(restful.MIME_JSON)
ws.Route(ws.GET("/").To(s.ConnectWs))
ws.Route(ws.GET("/server").To(s.ServerInfo))
ws.Route(ws.GET("/test/rulechain").To(s.ServerInfo))
container.Add(ws)
}