|
|
@ -104,6 +104,7 @@ func main() {
|
|
|
|
engine.GET("/mysql",middleware.JwtApiMiddleware,middleware.RbacAuth, controller.MysqlGetConf)
|
|
|
|
engine.GET("/mysql",middleware.JwtApiMiddleware,middleware.RbacAuth, controller.MysqlGetConf)
|
|
|
|
engine.POST("/mysql",middleware.JwtApiMiddleware,middleware.RbacAuth, controller.MysqlSetConf)
|
|
|
|
engine.POST("/mysql",middleware.JwtApiMiddleware,middleware.RbacAuth, controller.MysqlSetConf)
|
|
|
|
engine.GET("/visitors_online", controller.GetVisitorOnlines)
|
|
|
|
engine.GET("/visitors_online", controller.GetVisitorOnlines)
|
|
|
|
|
|
|
|
engine.GET("/clear_online_tcp", controller.DeleteOnlineTcp)
|
|
|
|
engine.POST("/visitor",controller.PostVisitor)
|
|
|
|
engine.POST("/visitor",controller.PostVisitor)
|
|
|
|
engine.GET("/visitor",middleware.JwtApiMiddleware, controller.GetVisitor)
|
|
|
|
engine.GET("/visitor",middleware.JwtApiMiddleware, controller.GetVisitor)
|
|
|
|
engine.GET("/visitors",middleware.JwtApiMiddleware, controller.GetVisitors)
|
|
|
|
engine.GET("/visitors",middleware.JwtApiMiddleware, controller.GetVisitors)
|
|
|
|