Versions in this module Expand all Collapse all v1 v1.2.7 Sep 11, 2021 Changes in this version + type MyActionData struct + Api string + Id int32 + MenuId int32 + Method string v1.2.6 May 15, 2021 Changes in this version + type ListMyMenuData struct + Icon string + Id int32 + Link string + Name string + Pid int32 + type SearchMyActionData struct + AdminId int32 + type SearchMyMenuData struct + AdminId int32 type Service + MyAction func(ctx core.Context, searchData *SearchMyActionData) (actionData []*menu_action_repo.MenuAction, err error) + MyMenu func(ctx core.Context, searchData *SearchMyMenuData) (menuData []ListMyMenuData, err error) v1.2.5 May 9, 2021 Changes in this version + type CreateMenuData struct + Actions string + AdminId int32 + type ListMenuData struct + Id int32 + IsHave int32 + Name string + Pid int32 + type SearchListMenuData struct + AdminId int32 type Service + CreateMenu func(ctx core.Context, menuData *CreateMenuData) (err error) + ListMenu func(ctx core.Context, searchData *SearchListMenuData) (menuData []ListMenuData, err error) v1.2.4 Apr 10, 2021 Changes in this version + type CreateAdminData struct + Mobile string + Nickname string + Password string + Username string + type ModifyData struct + Mobile string + Nickname string + type SearchData struct + Mobile string + Nickname string + Page int + PageSize int + Username string + type SearchOneData struct + Id int32 + IsUsed int32 + Mobile string + Nickname string + Password string + Username string + type Service interface + CacheKeyPrefix func() (pre string) + Create func(ctx core.Context, authorizedData *CreateAdminData) (id int32, err error) + Delete func(ctx core.Context, id int32) (err error) + Detail func(ctx core.Context, searchOneData *SearchOneData) (info *admin_repo.Admin, err error) + ModifyPassword func(ctx core.Context, id int32, newPassword string) (err error) + ModifyPersonalInfo func(ctx core.Context, id int32, modifyData *ModifyData) (err error) + PageList func(ctx core.Context, searchData *SearchData) (listData []*admin_repo.Admin, err error) + PageListCount func(ctx core.Context, searchData *SearchData) (total int64, err error) + ResetPassword func(ctx core.Context, id int32) (err error) + UpdateUsed func(ctx core.Context, id int32, used int32) (err error) + func New(db db.Repo, cache cache.Repo) Service