Files
2026-05-20 16:13:58 +08:00

17 lines
356 B
Go

package router
import (
"github.com/gin-gonic/gin"
"stat/api/authorityApi"
)
func authorityRouter(router *gin.RouterGroup) {
group := router.Group("/authority")
{
group.POST("/list", authorityApi.RoleList)
group.POST("/add", authorityApi.AddRole)
group.POST("/update", authorityApi.UpdateRole)
group.DELETE("/del", authorityApi.DelRole)
}
}