Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiMenu ¶
type ApiMenu struct {
// contains filtered or unexported fields
}
func (*ApiMenu) AddMenu ¶
AddMenu godoc @Summary 新增菜单接口 @Security ApiKeyAuth @Description 新增菜单接口 @accept application/json @Produce application/json @Param data body menu.DevopsSysMenu true "菜单" @Tags Menu @Success 200 {object} base.Response @Router /sys/menu/add [post]
func (*ApiMenu) DeleteMenu ¶
DeleteMenu godoc @Summary 删除菜单接口 @Security ApiKeyAuth @Description 删除菜单接口 @accept application/json @Produce application/json @Param ids body string true "菜单ids" @Tags Menu @Success 200 {object} base.Response @Router /sys/menu/delete [delete]
func (*ApiMenu) GetMenu ¶
GetMenu godoc @Summary 获得菜单接口 @Security ApiKeyAuth @Description 获得菜单接口 @accept application/json @Produce application/json @Param id path int true "菜单id" @Tags Menu @Success 200 {object} base.Response @Router /sys/menu/{id} [get]
func (*ApiMenu) ListMenu ¶
ListMenu godoc @Summary 获得菜单列表接口 @Security ApiKeyAuth @Description 获得菜单列表接口 @accept application/json @Produce application/json @Param data body base.PageRequest true "页数,页大小,筛选条件" @Tags Menu @Success 200 {object} base.Response @Router /sys/menu/list [post]
func (*ApiMenu) ModifyMenu ¶
ModifyMenu godoc @Summary 修改菜单接口 @Security ApiKeyAuth @Description 修改菜单接口 @accept application/json @Produce application/json @Param data body menu.DevopsSysMenu true "菜单" @Tags Menu @Success 200 {object} base.Response @Router /sys/menu/modify [post]