banner

package
v0.0.0-...-eea11df Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBannerPb

func ConvertBannerPb(in *types.BannerNewReq) (out *photorpc.BannerNewReq)

func ConvertBannerTypes

func ConvertBannerTypes(in *photorpc.BannerDetails) (out *types.BannerBackDTO)

Types

type AddBannerLogic

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

func NewAddBannerLogic

func NewAddBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddBannerLogic

创建页面

func (*AddBannerLogic) AddBanner

func (l *AddBannerLogic) AddBanner(req *types.BannerNewReq) (resp *types.BannerBackDTO, err error)

type DeleteBannerLogic

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

func NewDeleteBannerLogic

func NewDeleteBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteBannerLogic

删除页面

func (*DeleteBannerLogic) DeleteBanner

func (l *DeleteBannerLogic) DeleteBanner(req *types.IdReq) (resp *types.BatchResp, err error)

type FindBannerListLogic

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

func NewFindBannerListLogic

func NewFindBannerListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindBannerListLogic

分页获取页面列表

func (*FindBannerListLogic) FindBannerList

func (l *FindBannerListLogic) FindBannerList(req *types.BannerQuery) (resp *types.PageResp, err error)

type UpdateBannerLogic

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

func NewUpdateBannerLogic

func NewUpdateBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateBannerLogic

更新页面

func (*UpdateBannerLogic) UpdateBanner

func (l *UpdateBannerLogic) UpdateBanner(req *types.BannerNewReq) (resp *types.BannerBackDTO, err error)

Jump to

Keyboard shortcuts

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