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 ¶
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 ¶
func NewDeleteBannerLogic ¶
func NewDeleteBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteBannerLogic
删除页面
func (*DeleteBannerLogic) DeleteBanner ¶
type FindBannerListLogic ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.