Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiPath ¶
type ApiPath struct {
// contains filtered or unexported fields
}
func (*ApiPath) AddApi ¶
AddApi godoc @Summary 新增Api接口 @Security ApiKeyAuth @Description 新增Api接口 @accept application/json @Produce application/json @Param data body path.DevopsSysApi true "Api" @Tags Api @Success 200 {object} base.Response @Router /sys/api/add [post]
func (*ApiPath) DeleteApi ¶
DeleteApi godoc @Summary 删除Api接口 @Security ApiKeyAuth @Description 删除Api接口 @accept application/json @Produce application/json @Param ids body string true "Api ids" @Tags Api @Success 200 {object} base.Response @Router /sys/api/delete [delete]
func (*ApiPath) GetApi ¶
GetApi godoc @Summary 获得Api接口 @Security ApiKeyAuth @Description 获得Api接口 @accept application/json @Produce application/json @Param id path int true "Api id" @Tags Api @Success 200 {object} base.Response @Router /sys/api/{id} [get]
func (*ApiPath) ListApi ¶
ListApi godoc @Summary 获得Api列表接口 @Security ApiKeyAuth @Description 获得Api列表接口 @accept application/json @Produce application/json @Param data body base.PageRequest true "页数,页大小,筛选条件" @Tags Api @Success 200 {object} base.Response @Router /sys/api/list [post]