go-wxhelper/router/admin/role.go

14 lines
227 B
Go
Raw Permalink Normal View History

package admin
import (
"github.com/gin-gonic/gin"
roleApi "wechat-robot/api/admin/role"
)
// role
// @description: 角色管理
// @param g
func role(g *gin.RouterGroup) {
g.GET("", roleApi.GetAll) // 获取所有角色
}