office

package
v0.0.0-...-1b41cfb Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateService

type CreateService struct {
	ParentID int    `form:"parentId" json:"parentId"`
	Name     string `form:"name" json:"name" binding:"required"`
	Type     int    `form:"type" json:"type" binding:"required"`
}

CreateService 组织添加服务

func (CreateService) Execute

func (receiver CreateService) Execute() error

type DeleteService

type DeleteService struct {
	ID int `form:"id" json:"id" binding:"required"`
}

DeleteService 组织删除服务

func (DeleteService) Execute

func (receiver DeleteService) Execute() error

type UpdateService

type UpdateService struct {
	ID       int    `form:"id" json:"id" binding:"required"`
	ParentID int    `form:"parentId" json:"parentId"`
	Name     string `form:"name" json:"name"`
	Type     int    `form:"type" json:"type"`
}

UpdateService 组织更新服务

func (UpdateService) Execute

func (receiver UpdateService) Execute() error

type ViewService

type ViewService struct {
}

ViewService 组织查看服务

func (ViewService) Execute

func (receiver ViewService) Execute() (interface{}, error)

Jump to

Keyboard shortcuts

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