Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMenuActionData ¶
type CreateMenuData ¶
type SearchData ¶
type SearchData struct {
Pid int32 // 父类ID
}
type SearchListActionData ¶
type SearchListActionData struct {
MenuId int32 `json:"menu_id"` // 菜单栏ID
}
type SearchOneData ¶
type Service ¶
type Service interface { Create(ctx core.Context, menuData *CreateMenuData) (id int32, err error) Modify(ctx core.Context, id int32, menuData *UpdateMenuData) (err error) List(ctx core.Context, searchData *SearchData) (listData []*menu.Menu, err error) UpdateUsed(ctx core.Context, id int32, used int32) (err error) UpdateSort(ctx core.Context, id int32, sort int32) (err error) Delete(ctx core.Context, id int32) (err error) Detail(ctx core.Context, searchOneData *SearchOneData) (info *menu.Menu, err error) CreateAction(ctx core.Context, menuActionData *CreateMenuActionData) (id int32, err error) ListAction(ctx core.Context, searchListActionData *SearchListActionData) (listData []*menu_action.MenuAction, err error) DeleteAction(ctx core.Context, id int32) (err error) // contains filtered or unexported methods }
type UpdateMenuData ¶
Click to show internal directories.
Click to hide internal directories.