service

package
v0.0.0-...-231bdf8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

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

Jump to

Keyboard shortcuts

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