bug: the latest database table, modify the associated deletion method of menu and authority
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
||||
func InitCasbinRouter(Router *gin.RouterGroup) {
|
||||
CasbinRouter := Router.Group("casbin").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler())
|
||||
{
|
||||
CasbinRouter.POST("UpdateCasbin", v1.UpdateCasbin)
|
||||
CasbinRouter.POST("updateCasbin", v1.UpdateCasbin)
|
||||
CasbinRouter.POST("getPolicyPathByAuthorityId", v1.GetPolicyPathByAuthorityId)
|
||||
CasbinRouter.GET("casbinTest/:pathParam", v1.CasbinTest)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user