feat:完善项目

This commit is contained in:
henry
2021-11-04 15:44:35 +08:00
parent 0b41c97899
commit 42c6fb01bb
4 changed files with 9 additions and 12 deletions

View File

@ -16,7 +16,7 @@ type roleForm struct {
}
/**
* @apiDefine Role 菜单管理
* @apiDefine Role 角色管理
*/
func (*Role) List(c *gin.Context) {
@ -64,7 +64,7 @@ func (a *Role) Delete(c *gin.Context) {
}
/**
* @api {post} /api/v1/role/menus 菜单信息
* @api {post} /api/v1/role/menus 角色菜单
* @apiVersion 1.0.0
* @apiName RoleMenu
* @apiGroup Role
@ -121,7 +121,7 @@ func (a *Role) Menu(c *gin.Context) {
}
/**
* @api {post} /api/v1/role/menu/bind 菜单绑定
* @api {post} /api/v1/role/menu/bind 角色菜单绑定
* @apiVersion 1.0.0
* @apiName RoleMenuBind
* @apiGroup Role