package router

import (
	"kra/internal/modules/system/transport/handler"

	"github.com/gin-gonic/gin"
)

func RegisterPermission(group *gin.RouterGroup, h *handler.Permission) {
	buttons := group.Group("/authorityBtn")
	buttons.POST("/getAuthorityBtn", h.Buttons)
	buttons.POST("/setAuthorityBtn", h.SetButtons)
	buttons.POST("/canRemoveAuthorityBtn", h.CanRemoveButton)
}
