Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2025 Changes in this version + type AddUserLogic struct + func NewAddUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) AddUserLogic + func (l *AddUserLogic) AddUser(req *types.AddUserReq) (*types.AddUserResp, error) + type DeleteUserLogic struct + func NewDeleteUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) DeleteUserLogic + func (l *DeleteUserLogic) DeleteUser(req *types.DeleteUserReq) (*types.DeleteUserResp, error) + type QueryDeptAndPostListLogic struct + func NewQueryDeptAndPostListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryDeptAndPostListLogic + func (l *QueryDeptAndPostListLogic) QueryDeptAndPostList(req *types.QueryDeptAndPostListReq) (resp *types.QueryDeptAndPostListResp, err error) + type QueryUserDetailLogic struct + func NewQueryUserDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryUserDetailLogic + func (l *QueryUserDetailLogic) QueryUserDetail(req *types.QueryUserDetailReq) (resp *types.QueryUserDetailResp, err error) + type QueryUserListLogic struct + func NewQueryUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) QueryUserListLogic + func (l *QueryUserListLogic) QueryUserList(req *types.QueryUserListReq) (*types.QueryUserListResp, error) + type QueryUserRoleListLogic struct + func NewQueryUserRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryUserRoleListLogic + func (l *QueryUserRoleListLogic) QueryUserRoleList(req *types.QueryUserRoleListReq) (resp *types.QueryUserRoleListResp, err error) + type UpdateUserLogic struct + func NewUpdateUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) UpdateUserLogic + func (l *UpdateUserLogic) UpdateUser(req *types.UpdateUserReq) (*types.UpdateUserResp, error) + type UpdateUserRoleListLogic struct + func NewUpdateUserRoleListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserRoleListLogic + func (l *UpdateUserRoleListLogic) UpdateUserRoleList(req *types.UpdateUserRoleReq) (resp *types.UpdateUserRoleResp, err error) v0.0.1 May 9, 2024 Changes in this version + type QueryAllRelationsLogic struct + func NewQueryAllRelationsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryAllRelationsLogic + func (l *QueryAllRelationsLogic) QueryAllRelations(req *types.QueryAllRelationsReq) (resp *types.QueryAllRelationsResp, err error) + type ReSetPasswordLogic struct + func NewReSetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) ReSetPasswordLogic + func (l *ReSetPasswordLogic) ReSetPassword(req types.ReSetPasswordReq) (*types.ReSetPasswordResp, error) + type UpdateUserStatusLogic struct + func NewUpdateUserStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) UpdateUserStatusLogic + func (l *UpdateUserStatusLogic) UpdateUserStatus(req types.UserStatusReq) (*types.UserStatusResp, error) + type UserAddLogic struct + func NewUserAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserAddLogic + func (l *UserAddLogic) UserAdd(req types.AddUserReq) (*types.AddUserResp, error) + type UserDeleteLogic struct + func NewUserDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserDeleteLogic + func (l *UserDeleteLogic) UserDelete(req types.DeleteUserReq) (*types.DeleteUserResp, error) + type UserInfoLogic struct + func NewUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserInfoLogic + func (l *UserInfoLogic) UserInfo() (*types.UserInfoResp, error) + type UserListLogic struct + func NewUserListLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserListLogic + func (l *UserListLogic) UserList(req types.ListUserReq) (*types.ListUserResp, error) + type UserLoginLogic struct + func NewUserLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserLoginLogic + func (l *UserLoginLogic) UserLogin(req types.LoginReq, ip string) (*types.LoginResp, error) + type UserUpdateLogic struct + func NewUserUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) UserUpdateLogic + func (l *UserUpdateLogic) UserUpdate(req types.UpdateUserReq) (*types.UpdateUserResp, error)