package
0.0.0-20250208161645-9a3f23803ec9
Repository: https://github.com/dangweiwu/go-service.git
Documentation: pkg.go.dev

# Functions

NewAllUrl doc @tags 3-系统-权限管理 @summary 获取所有URL @description url参数用于auth的api @Security ApiKeyAuth @router /api/allurl [get] @success 200 {object} ginx.Response{data=[]string} "系统所有的可用URL".
NewAuthCreate doc @tags 3-系统-权限管理 @summary 创建权限 @router /api/auth [post] @Security ApiKeyAuth @param body body authmodel.AuthForm true "权限" @success 200 {object} ginx.Response{data=string} "data=ok" @failure 400 {object} ginx.ErrResponse "".
NewAuthDel doc @tags 3-系统-权限管理 @summary 删除权限 @security ApiKeyAuth @description 该权限下包含其他权限,禁止删除! @router /api/auth/{id} [delete] @param id path int true "角色ID" @success 200 {object} ginx.Response{data=string} "data=ok" @failure 400 {object} ginx.ErrResponse "msg=该权限下包含其他权限,禁止删除!".
NewAuthQuery doc @tags 3-系统-权限管理 @summary 查询权限 @Security ApiKeyAuth @router /api/auth [get] @param key query string false "关键字,可以是name或者code,进行模糊匹配。" @success 200 {object} ginx.Response{data=[]authmodel.AuthVo} "权限树列表,所有的权限数据".
NewAuthUpdate doc @tags 3-系统-权限管理 @summary 修改权限 @Security ApiKeyAuth @router /api/auth/{id} [put] @param id path int true "权限ID" @param body body authmodel.AuthUpdateForm true "用户信息" @success 200 {object} ginx.Response{data=string} "data=ok" @failure 400 {object} ginx.ErrResponse "".

# Structs

获取全部url */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author