domain

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(r *gin.Engine) error

Types

type ApiDomain

type ApiDomain struct {
	// contains filtered or unexported fields
}

func NewDomainApi

func NewDomainApi(c framework.Container) *ApiDomain

func (*ApiDomain) AddDomain

func (a *ApiDomain) AddDomain(c *gin.Context)

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

func (a *ApiDomain) DeleteDomain(c *gin.Context)

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

func (a *ApiDomain) GetDomains(c *gin.Context)

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

func (a *ApiDomain) ListDomains(c *gin.Context)

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

func (a *ApiDomain) ModifyDomain(c *gin.Context)

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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL