2 Star 0 Fork 1

web-bird / bird

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
permission.go 291 Bytes
一键复制 编辑 原始数据 按行查看 历史
悟道人 提交于 2020-02-10 23:36 . 修改结构
package admin
import (
"gitee.com/web-bird/bird"
"github.com/gin-gonic/gin"
)
type PermissionController struct {
}
//权限列表
func (PermissionController) List(c *gin.Context) {
w := bird.NewContext(c)
domain := bird.PermissionDomain()
list := domain.Select()
w.Res(100, list)
}
1
https://gitee.com/web-bird/bird.git
git@gitee.com:web-bird/bird.git
web-bird
bird
bird
eddb2f01d39e

搜索帮助