Documentation ¶
Index ¶
- type Operate
- func (o *Operate) CancelFavorite(ctx context.Context, uid, pid int64) error
- func (o *Operate) FavoriteProduct(ctx context.Context, uid, pid int64) error
- func (o *Operate) GetCommentNum(pid int64) (int64, error)
- func (o *Operate) GetSaleNum(ctx context.Context, pid int64) (int64, error)
- func (o *Operate) GetUserFavoriteStatus(ctx context.Context, uid, pid int64) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operate ¶
type Operate struct {
// contains filtered or unexported fields
}
func NewOperate ¶
func (*Operate) CancelFavorite ¶
func (*Operate) FavoriteProduct ¶
func (*Operate) GetSaleNum ¶
Click to show internal directories.
Click to hide internal directories.