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)
Click to show internal directories.
Click to hide internal directories.