14 lines
227 B
Go
14 lines
227 B
Go
|
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) // 获取所有角色
|
||
|
}
|