Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAlbumLogic ¶
func NewAddAlbumLogic ¶
func NewAddAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddAlbumLogic
func (*AddAlbumLogic) AddAlbum ¶
func (l *AddAlbumLogic) AddAlbum(in *photorpc.AlbumNewReq) (*photorpc.AlbumDetails, error)
创建相册
type AddBannerLogic ¶
func NewAddBannerLogic ¶
func NewAddBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddBannerLogic
func (*AddBannerLogic) AddBanner ¶
func (l *AddBannerLogic) AddBanner(in *photorpc.BannerNewReq) (*photorpc.BannerDetails, error)
创建页面
type AddPhotoLogic ¶
func NewAddPhotoLogic ¶
func NewAddPhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPhotoLogic
func (*AddPhotoLogic) AddPhoto ¶
func (l *AddPhotoLogic) AddPhoto(in *photorpc.PhotoNewReq) (*photorpc.PhotoDetails, error)
创建照片
type DeleteAlbumLogic ¶
func NewDeleteAlbumLogic ¶
func NewDeleteAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAlbumLogic
func (*DeleteAlbumLogic) DeleteAlbum ¶
删除相册
type DeleteBannerLogic ¶
func NewDeleteBannerLogic ¶
func NewDeleteBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteBannerLogic
func (*DeleteBannerLogic) DeleteBanner ¶
删除页面
type DeletePhotoLogic ¶
func NewDeletePhotoLogic ¶
func NewDeletePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePhotoLogic
func (*DeletePhotoLogic) DeletePhoto ¶
删除照片
type FindAlbumListLogic ¶
func NewFindAlbumListLogic ¶
func NewFindAlbumListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindAlbumListLogic
func (*FindAlbumListLogic) FindAlbumList ¶
func (l *FindAlbumListLogic) FindAlbumList(in *photorpc.FindAlbumListReq) (*photorpc.FindAlbumListResp, error)
查询相册列表
type FindBannerListLogic ¶
func NewFindBannerListLogic ¶
func NewFindBannerListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindBannerListLogic
func (*FindBannerListLogic) FindBannerList ¶
func (l *FindBannerListLogic) FindBannerList(in *photorpc.FindBannerListReq) (*photorpc.FindBannerListResp, error)
查询页面列表
type FindPhotoListLogic ¶
func NewFindPhotoListLogic ¶
func NewFindPhotoListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindPhotoListLogic
func (*FindPhotoListLogic) FindPhotoList ¶
func (l *FindPhotoListLogic) FindPhotoList(in *photorpc.FindPhotoListReq) (*photorpc.FindPhotoListResp, error)
分页获取照片列表
type GetAlbumLogic ¶
func NewGetAlbumLogic ¶
func NewGetAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAlbumLogic
func (*GetAlbumLogic) GetAlbum ¶
func (l *GetAlbumLogic) GetAlbum(in *photorpc.IdReq) (*photorpc.AlbumDetails, error)
获取相册
type UpdateAlbumLogic ¶
func NewUpdateAlbumLogic ¶
func NewUpdateAlbumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAlbumLogic
func (*UpdateAlbumLogic) UpdateAlbum ¶
func (l *UpdateAlbumLogic) UpdateAlbum(in *photorpc.AlbumNewReq) (*photorpc.AlbumDetails, error)
更新相册
type UpdateBannerLogic ¶
func NewUpdateBannerLogic ¶
func NewUpdateBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateBannerLogic
func (*UpdateBannerLogic) UpdateBanner ¶
func (l *UpdateBannerLogic) UpdateBanner(in *photorpc.BannerNewReq) (*photorpc.BannerDetails, error)
更新页面
type UpdatePhotoLogic ¶
func NewUpdatePhotoLogic ¶
func NewUpdatePhotoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePhotoLogic
func (*UpdatePhotoLogic) UpdatePhoto ¶
func (l *UpdatePhotoLogic) UpdatePhoto(in *photorpc.PhotoNewReq) (*photorpc.PhotoDetails, error)
更新照片
Source Files ¶
Click to show internal directories.
Click to hide internal directories.