This commit is contained in:
2025-08-15 17:56:37 +08:00
parent 0cee6b045b
commit 8f44b85ec3
6 changed files with 373 additions and 0 deletions
+2
View File
@@ -73,8 +73,10 @@ func Routers() *gin.Engine {
PublicGroup := Router.Group(global.GVA_CONFIG.System.RouterPrefix)
PrivateGroup := Router.Group(global.GVA_CONFIG.System.RouterPrefix)
UserGroup := Router.Group(global.GVA_CONFIG.System.RouterPrefix)
PrivateGroup.Use(middleware.JWTAuth()).Use(middleware.CasbinHandler())
UserGroup.Use(middleware.UserJWTAuth())
{
// 健康监测