photo

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 ConvertPhotoPb

func ConvertPhotoPb(in *types.PhotoNewReq) (out *photorpc.PhotoNewReq)

func ConvertPhotoTypes

func ConvertPhotoTypes(in *photorpc.PhotoDetails) (out *types.PhotoBackDTO)

Types

type AddPhotoLogic

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

func NewAddPhotoLogic

func NewAddPhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPhotoLogic

创建照片

func (*AddPhotoLogic) AddPhoto

func (l *AddPhotoLogic) AddPhoto(req *types.PhotoNewReq) (resp *types.PhotoBackDTO, err error)

type BatchDeletePhotoLogic

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

func NewBatchDeletePhotoLogic

func NewBatchDeletePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeletePhotoLogic

批量删除照片

func (*BatchDeletePhotoLogic) BatchDeletePhoto

func (l *BatchDeletePhotoLogic) BatchDeletePhoto(req *types.IdsReq) (resp *types.BatchResp, err error)

type DeletePhotoLogic

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

func NewDeletePhotoLogic

func NewDeletePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePhotoLogic

删除照片

func (*DeletePhotoLogic) DeletePhoto

func (l *DeletePhotoLogic) DeletePhoto(req *types.IdReq) (resp *types.BatchResp, err error)

type FindPhotoListLogic

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

func NewFindPhotoListLogic

func NewFindPhotoListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPhotoListLogic

分页获取照片列表

func (*FindPhotoListLogic) FindPhotoList

func (l *FindPhotoListLogic) FindPhotoList(req *types.PhotoQuery) (resp *types.PageResp, err error)

type UpdatePhotoLogic

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

func NewUpdatePhotoLogic

func NewUpdatePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePhotoLogic

更新照片

func (*UpdatePhotoLogic) UpdatePhoto

func (l *UpdatePhotoLogic) UpdatePhoto(req *types.PhotoNewReq) (resp *types.PhotoBackDTO, err error)

Jump to

Keyboard shortcuts

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