Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FavoriteService ¶
type FavoriteService struct {
// contains filtered or unexported fields
}
func NewFavoriteService ¶
func NewFavoriteService(ctx context.Context, c *app.RequestContext) *FavoriteService
NewFavoriteService create favorite service
func (*FavoriteService) FavoriteAction ¶
func (r *FavoriteService) FavoriteAction(req *favorite.DouyinFavoriteActionRequest) (flag bool, err error)
FavoriteAction like a video and return result
func (*FavoriteService) GetFavoriteList ¶
func (r *FavoriteService) GetFavoriteList(req *favorite.DouyinFavoriteListRequest) (favoritelist []*common.Video, err error)
GetFavoriteList query favorite list by the user id in the request
Click to show internal directories.
Click to hide internal directories.