Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAdminData ¶
type CreateMenuData ¶
type ListMenuData ¶
type ListMyMenuData ¶
type ModifyData ¶
type MyActionData ¶
type SearchData ¶
type SearchListMenuData ¶
type SearchListMenuData struct {
AdminId int32 `json:"admin_id"` // 管理员ID
}
type SearchMyActionData ¶
type SearchMyActionData struct {
AdminId int32 `json:"admin_id"` // 管理员ID
}
type SearchMyMenuData ¶
type SearchMyMenuData struct {
AdminId int32 `json:"admin_id"` // 管理员ID
}
type SearchOneData ¶
type Service ¶
type Service interface { Create(ctx core.Context, adminData *CreateAdminData) (id int32, err error) PageList(ctx core.Context, searchData *SearchData) (listData []*admin_repo.Admin, err error) PageListCount(ctx core.Context, searchData *SearchData) (total int64, err error) UpdateUsed(ctx core.Context, id int32, used int32) (err error) Delete(ctx core.Context, id int32) (err error) Detail(ctx core.Context, searchOneData *SearchOneData) (info *admin_repo.Admin, err error) ResetPassword(ctx core.Context, id int32) (err error) ModifyPassword(ctx core.Context, id int32, newPassword string) (err error) ModifyPersonalInfo(ctx core.Context, id int32, modifyData *ModifyData) (err error) CreateMenu(ctx core.Context, menuData *CreateMenuData) (err error) ListMenu(ctx core.Context, searchData *SearchListMenuData) (menuData []ListMenuData, err error) MyMenu(ctx core.Context, searchData *SearchMyMenuData) (menuData []ListMyMenuData, err error) MyAction(ctx core.Context, searchData *SearchMyActionData) (actionData []MyActionData, err error) // contains filtered or unexported methods }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.