资源权限功能示例
This commit is contained in:
@@ -28,5 +28,6 @@ func InitRouter() *gin.Engine {
|
||||
router.InitCasbinRouter(ApiGroup) // 权限相关路由
|
||||
router.InitJwtRouter(ApiGroup) // jwt相关路由
|
||||
router.InitSystemRouter(ApiGroup) // system相关路由
|
||||
router.InitCustomerRouter(ApiGroup) // 客户路由
|
||||
return Router
|
||||
}
|
||||
|
||||
@@ -19,5 +19,6 @@ func RegistTable(db *gorm.DB) {
|
||||
dbModel.ExaFileUploadAndDownload{},
|
||||
dbModel.ExaFile{},
|
||||
dbModel.ExaFileChunk{},
|
||||
dbModel.ExaCustomer{},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user