Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemTemplateController ¶
type SystemTemplateController struct {
beego.Controller
}
System Template object api list
func (*SystemTemplateController) AddSystemTemplate ¶
func (this *SystemTemplateController) AddSystemTemplate()
@Title AddSystemTemplate @Description Add SystemTemplate @Param token header string true "authToken" @Param body body models.SystemTemplate false "SystemTemplate" @Success 200 {object} models.Result @router /add [post]
func (*SystemTemplateController) DeleteSystemTemplate ¶
func (this *SystemTemplateController) DeleteSystemTemplate()
@Title DeleteSystemTemplate @Description Delete SystemTemplate @Param token header string true "authToken" @Param id path string "" true "id" @Success 200 {object} models.Result @router /:id [delete]
func (*SystemTemplateController) GetSystemTemplateLIst ¶
func (this *SystemTemplateController) GetSystemTemplateLIst()
@Title GetSystemTemplateList @Description Get System Template List @Param token header string true "authToken" @Param body body models.SystemTemplate false "安全策略" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router / [post]
func (*SystemTemplateController) UpdateSystemTemplate ¶
func (this *SystemTemplateController) UpdateSystemTemplate()
@Title UpdateSystemTemplate @Description Update SystemTemplate @Param token header string true "authToken" @Param id path string "" true "id" @Param body body models.SystemTemplate false "SystemTemplate" @Success 200 {object} models.Result @router /:id [put]
type SystemTemplateGroupController ¶
type SystemTemplateGroupController struct {
beego.Controller
}
System Template Group object api list
func (*SystemTemplateGroupController) AddSystemTemplateGroup ¶
func (this *SystemTemplateGroupController) AddSystemTemplateGroup()
@Title AddSystemTemplateGroup @Description Add SystemTemplateGroup @Param token header string true "authToken" @Param body body models.SystemTemplateGroup false "安全策略组" @Success 200 {object} models.Result @router /add [post]
func (*SystemTemplateGroupController) DeleteSystemTemplateGroup ¶
func (this *SystemTemplateGroupController) DeleteSystemTemplateGroup()
@Title DeleteSystemTemplateGroup @Description Delete SystemTemplateGroup @Param token header string true "authToken" @Param id path string "" true "id" @Success 200 {object} models.Result @router /:id [delete]
func (*SystemTemplateGroupController) GetSystemTemplateGroupLIst ¶
func (this *SystemTemplateGroupController) GetSystemTemplateGroupLIst()
@Title GetSystemTemplateGroupList @Description Get System Template List @Param token header string true "authToken" @Param body body models.SystemTemplateGroup false "安全策略组" @Param from query int 0 false "from" @Param limit query int 20 false "limit" @Success 200 {object} models.Result @router / [post]
func (*SystemTemplateGroupController) UpdateSystemTemplateGroup ¶
func (this *SystemTemplateGroupController) UpdateSystemTemplateGroup()
@Title UpdateSystemTemplateGroup @Description Update SystemTemplateGroup @Param token header string true "authToken" @Param id path string "" true "id" @Param body body models.SystemTemplateGroup false "安全策略组" @Success 200 {object} models.Result @router /:id [put]