tag

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// StaffTagBid var
	StaffTagBid int64 = 15
)

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

Dao define

func New

func New(c *conf.Config) (d *Dao)

New init dao

func (*Dao) AppealTag

func (d *Dao) AppealTag(c context.Context, aid int64, ip string) (tid int64, err error)

AppealTag appeal tag from videoup.

func (*Dao) StaffTitleList

func (d *Dao) StaffTitleList(c context.Context) (staffTitles []*tag.StaffTitle, err error)

StaffTitleList 获取联合投稿职能列表

func (*Dao) TagCheck

func (d *Dao) TagCheck(c context.Context, mid int64, tagName string) (t *tag.Tag, err error)

TagCheck tag check

func (*Dao) TagList

func (d *Dao) TagList(c context.Context, ids []int64) (tgs []*tag.Meta, err error)

TagList get tag list.

Jump to

Keyboard shortcuts

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