Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApiDomain ¶
type ApiDomain struct {
// contains filtered or unexported fields
}
func NewDomainApi ¶
func (*ApiDomain) AddDomain ¶
AddDomain godoc @Summary 新增域接口 @Security ApiKeyAuth @Description 新增域接口 @accept application/json @Produce application/json @Param data body domain.DevopsSysDomain true "域" @Tags Domain @Success 200 {object} base.Response @Router /sys/domain/add [post]
func (*ApiDomain) DeleteDomain ¶
DeleteDomain godoc @Summary 删除域接口 @Security ApiKeyAuth @Description 删除域接口 @accept application/json @Produce application/json @Param ids body string true "域ids" @Tags Domain @Success 200 {object} base.Response @Router /sys/domain/delete [delete]
func (*ApiDomain) GetDomains ¶
GetDomains godoc @Summary 获得域接口 @Security ApiKeyAuth @Description 获得域接口 @accept application/json @Produce application/json @Param id path int true "域id" @Tags Domain @Success 200 {object} base.Response @Router /sys/domain/{id} [get]
func (*ApiDomain) ListDomains ¶
ListDomains godoc @Summary 获得域列表接口 @Security ApiKeyAuth @Description 获得域列表接口 @accept application/json @Produce application/json @Param data body base.PageRequest true "页数,页大小,筛选条件" @Tags Domain @Success 200 {object} base.Response @Router /sys/domain/list [post]
func (*ApiDomain) ModifyDomain ¶
ModifyDomain godoc @Summary 修改域接口 @Security ApiKeyAuth @Description 修改域接口 @accept application/json @Produce application/json @Param data body DevopsSysDomain true "域" @Tags Domain @Success 200 {object} base.Response @Router /sys/domain/modify [post]