feedback

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service struct.

func New

func New(c *conf.Config, rpcdaos *service.RPCDaos) *Service

New get service.

func (*Service) AddFeedback

func (s *Service) AddFeedback(c context.Context, mid, tagID, sessionID int64, qq, content, aid, imgURL, browser, platform, ip string) (err error)

AddFeedback add feedback

func (*Service) CloseSession

func (s *Service) CloseSession(c context.Context, sessionID int64, ip string) (err error)

CloseSession get feedback detail

func (*Service) Detail

func (s *Service) Detail(c context.Context, mid, sessionID int64, ip string) (data []*fdMdl.Reply, err error)

Detail get feedback detail

func (*Service) Feedbacks

func (s *Service) Feedbacks(c context.Context, mid, ps, pn, tagID int64, state, start, end, platform, ip string) (data []*fdMdl.Feedback, count int64, err error)

Feedbacks get user feedback list.

func (*Service) NewTags

func (s *Service) NewTags(c context.Context, mid int64, ip string) (tags *fdMdl.TagList, err error)

NewTags get new tags.

func (*Service) Tags

func (s *Service) Tags(c context.Context, mid int64, ip string) (tags []*fdMdl.Tag, err error)

Tags get tags.

Jump to

Keyboard shortcuts

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