logic

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainsRoleLogic

type ContainsRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewContainsRoleLogic

func NewContainsRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ContainsRoleLogic

func (*ContainsRoleLogic) ContainsRole

func (l *ContainsRoleLogic) ContainsRole(in *pb.ContainsRoleReq) (resp *pb.ContainsRoleResp, err error)

type CreateAdminLogic

type CreateAdminLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateAdminLogic

func NewCreateAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateAdminLogic

func (*CreateAdminLogic) CreateAdmin

func (l *CreateAdminLogic) CreateAdmin(in *pb.CreateAdminReq) (*pb.CreateAdminResp, error)

type CreateApplyLogic added in v1.2.2

type CreateApplyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateApplyLogic added in v1.2.2

func NewCreateApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateApplyLogic

func (*CreateApplyLogic) CreateApply added in v1.2.2

func (l *CreateApplyLogic) CreateApply(in *pb.CreateApplyReq) (*pb.CreateApplyResp, error)

type CreateCommunityLogic

type CreateCommunityLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateCommunityLogic

func NewCreateCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCommunityLogic

func (*CreateCommunityLogic) CreateCommunity

type CreateNewsLogic

type CreateNewsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateNewsLogic

func NewCreateNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNewsLogic

func (*CreateNewsLogic) CreateNews

func (l *CreateNewsLogic) CreateNews(in *pb.CreateNewsReq) (*pb.CreateNewsResp, error)

type CreateNoticeLogic

type CreateNoticeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateNoticeLogic

func NewCreateNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateNoticeLogic

func (*CreateNoticeLogic) CreateNotice

func (l *CreateNoticeLogic) CreateNotice(in *pb.CreateNoticeReq) (*pb.CreateNoticeResp, error)

type DeleteAdminLogic

type DeleteAdminLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteAdminLogic

func NewDeleteAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAdminLogic

func (*DeleteAdminLogic) DeleteAdmin

func (l *DeleteAdminLogic) DeleteAdmin(in *pb.DeleteAdminReq) (*pb.DeleteAdminResp, error)

type DeleteCommunityLogic

type DeleteCommunityLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteCommunityLogic

func NewDeleteCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCommunityLogic

func (*DeleteCommunityLogic) DeleteCommunity

type DeleteNewsLogic

type DeleteNewsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteNewsLogic

func NewDeleteNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNewsLogic

func (*DeleteNewsLogic) DeleteNews

func (l *DeleteNewsLogic) DeleteNews(in *pb.DeleteNewsReq) (*pb.DeleteNewsResp, error)

type DeleteNoticeLogic

type DeleteNoticeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteNoticeLogic

func NewDeleteNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteNoticeLogic

func (*DeleteNoticeLogic) DeleteNotice

func (l *DeleteNoticeLogic) DeleteNotice(in *pb.DeleteNoticeReq) (*pb.DeleteNoticeResp, error)

type HandleApplyLogic added in v1.2.2

type HandleApplyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewHandleApplyLogic added in v1.2.2

func NewHandleApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *HandleApplyLogic

func (*HandleApplyLogic) HandleApply added in v1.2.2

func (l *HandleApplyLogic) HandleApply(in *pb.HandleApplyReq) (*pb.HandleApplyResp, error)

type ListAdminLogic

type ListAdminLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListAdminLogic

func NewListAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListAdminLogic

func (*ListAdminLogic) ListAdmin

func (l *ListAdminLogic) ListAdmin(in *pb.ListAdminReq) (*pb.ListAdminResp, error)

type ListApplyLogic added in v1.2.2

type ListApplyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListApplyLogic added in v1.2.2

func NewListApplyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListApplyLogic

func (*ListApplyLogic) ListApply added in v1.2.2

func (l *ListApplyLogic) ListApply(in *pb.ListApplyReq) (*pb.ListApplyResp, error)

type ListCommunityLogic

type ListCommunityLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListCommunityLogic

func NewListCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCommunityLogic

func (*ListCommunityLogic) ListCommunity

func (l *ListCommunityLogic) ListCommunity(in *pb.ListCommunityReq) (*pb.ListCommunityResp, error)

type ListNewsLogic

type ListNewsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListNewsLogic

func NewListNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNewsLogic

func (*ListNewsLogic) ListNews

func (l *ListNewsLogic) ListNews(in *pb.ListNewsReq) (*pb.ListNewsResp, error)

type ListNoticeLogic

type ListNoticeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListNoticeLogic

func NewListNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListNoticeLogic

func (*ListNoticeLogic) ListNotice

func (l *ListNoticeLogic) ListNotice(in *pb.ListNoticeReq) (*pb.ListNoticeResp, error)

type ListUseridByRoleLogic added in v1.2.2

type ListUseridByRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListUseridByRoleLogic added in v1.2.2

func NewListUseridByRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListUseridByRoleLogic

func (*ListUseridByRoleLogic) ListUseridByRole added in v1.2.2

func (l *ListUseridByRoleLogic) ListUseridByRole(in *pb.ListUseridReq) (*pb.ListUseridResp, error)

type RetrieveAdminLogic

type RetrieveAdminLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveAdminLogic

func NewRetrieveAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveAdminLogic

func (*RetrieveAdminLogic) RetrieveAdmin

func (l *RetrieveAdminLogic) RetrieveAdmin(in *pb.RetrieveAdminReq) (*pb.RetrieveAdminResp, error)

type RetrieveCommunityLogic

type RetrieveCommunityLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveCommunityLogic

func NewRetrieveCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveCommunityLogic

func (*RetrieveCommunityLogic) RetrieveCommunity

type RetrieveNewsLogic

type RetrieveNewsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveNewsLogic

func NewRetrieveNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveNewsLogic

func (*RetrieveNewsLogic) RetrieveNews

func (l *RetrieveNewsLogic) RetrieveNews(in *pb.RetrieveNewsReq) (*pb.RetrieveNewsResp, error)

type RetrieveNoticeLogic

type RetrieveNoticeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveNoticeLogic

func NewRetrieveNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveNoticeLogic

func (*RetrieveNoticeLogic) RetrieveNotice

type RetrieveUserRoleLogic

type RetrieveUserRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRetrieveUserRoleLogic

func NewRetrieveUserRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrieveUserRoleLogic

func (*RetrieveUserRoleLogic) RetrieveUserRole

获取用户的所有角色

type UpdateAdminLogic

type UpdateAdminLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateAdminLogic

func NewUpdateAdminLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAdminLogic

func (*UpdateAdminLogic) UpdateAdmin

func (l *UpdateAdminLogic) UpdateAdmin(in *pb.UpdateAdminReq) (*pb.UpdateAdminResp, error)

type UpdateCommunityLogic

type UpdateCommunityLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateCommunityLogic

func NewUpdateCommunityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCommunityLogic

func (*UpdateCommunityLogic) UpdateCommunity

type UpdateNewsLogic

type UpdateNewsLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateNewsLogic

func NewUpdateNewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNewsLogic

func (*UpdateNewsLogic) UpdateNews

func (l *UpdateNewsLogic) UpdateNews(in *pb.UpdateNewsReq) (*pb.UpdateNewsResp, error)

type UpdateNoticeLogic

type UpdateNoticeLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateNoticeLogic

func NewUpdateNoticeLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNoticeLogic

func (*UpdateNoticeLogic) UpdateNotice

func (l *UpdateNoticeLogic) UpdateNotice(in *pb.UpdateNoticeReq) (*pb.UpdateNoticeResp, error)

type UpdateUserRoleLogic

type UpdateUserRoleLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateUserRoleLogic

func NewUpdateUserRoleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserRoleLogic

func (*UpdateUserRoleLogic) UpdateUserRole

更新用户的角色

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL