资源权限功能示例

This commit is contained in:
pixel
2020-02-25 18:15:20 +08:00
parent a8cbf2d773
commit 3e41b84ea8
8 changed files with 216 additions and 2 deletions

View File

@@ -28,5 +28,6 @@ func InitRouter() *gin.Engine {
router.InitCasbinRouter(ApiGroup) // 权限相关路由
router.InitJwtRouter(ApiGroup) // jwt相关路由
router.InitSystemRouter(ApiGroup) // system相关路由
router.InitCustomerRouter(ApiGroup) // 客户路由
return Router
}