impl

package
v0.0.0-...-12d990b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServiceImpl

type AuthServiceImpl struct {
}

func (*AuthServiceImpl) ICaptcha

func (a *AuthServiceImpl) ICaptcha() (string, error)

func (*AuthServiceImpl) ILogin

func (a *AuthServiceImpl) ILogin(body *dto.LoginBody) (*dto.Token, error)

func (*AuthServiceImpl) IRefreshToken

func (a *AuthServiceImpl) IRefreshToken(refreshToken string) (*dto.Token, error)

IRefreshToken 根据refreshToken刷新accessToken,并重置refreshToken过期时间

func (*AuthServiceImpl) IRegister

func (a *AuthServiceImpl) IRegister(register *dto.RegisterBody) error

type CommentServiceImpl

type CommentServiceImpl struct {
}

func (*CommentServiceImpl) ICreate

func (s *CommentServiceImpl) ICreate(c *gin.Context, comment *po.Comment) error

func (*CommentServiceImpl) IDelete

func (s *CommentServiceImpl) IDelete(c *gin.Context, comment *po.Comment) error

func (*CommentServiceImpl) ISelectAll

func (s *CommentServiceImpl) ISelectAll(c *gin.Context, pager *vo.Pager, comment *po.Comment) error

func (*CommentServiceImpl) ISelectAllByPostId

func (s *CommentServiceImpl) ISelectAllByPostId(ctx *gin.Context) error

func (*CommentServiceImpl) ISelectOne

func (s *CommentServiceImpl) ISelectOne(c *gin.Context, comment *po.Comment) error

type DictServiceImpl

type DictServiceImpl struct {
}

func (*DictServiceImpl) ICreateOne

func (d *DictServiceImpl) ICreateOne(c *gin.Context, dict *po.Dict) error

func (*DictServiceImpl) IDeleteOne

func (d *DictServiceImpl) IDeleteOne(c *gin.Context, dict *po.Dict) error

func (*DictServiceImpl) ISelectAll

func (d *DictServiceImpl) ISelectAll(c *gin.Context, pager *vo.Pager, dict *po.Dict) error

func (*DictServiceImpl) ISelectOne

func (d *DictServiceImpl) ISelectOne(c *gin.Context, dict *po.Dict) error

func (*DictServiceImpl) IUpdateOne

func (d *DictServiceImpl) IUpdateOne(c *gin.Context, dict *po.Dict) error

type PostServiceImpl

type PostServiceImpl struct {
}

func (*PostServiceImpl) ICommit

func (p *PostServiceImpl) ICommit(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) ICreateOne

func (p *PostServiceImpl) ICreateOne(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IDeleteOne

func (p *PostServiceImpl) IDeleteOne(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IPublish

func (p *PostServiceImpl) IPublish(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IPull

func (p *PostServiceImpl) IPull(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) ISearchWeb

func (p *PostServiceImpl) ISearchWeb(c *gin.Context, page *vo.Pager) error

func (*PostServiceImpl) ISelectAll

func (p *PostServiceImpl) ISelectAll(c *gin.Context, page *vo.Pager) error

func (*PostServiceImpl) ISelectAllWeb

func (p *PostServiceImpl) ISelectAllWeb(c *gin.Context, page *vo.Pager, post *po.Post) error

func (*PostServiceImpl) ISelectOne

func (p *PostServiceImpl) ISelectOne(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) ISelectOneWeb

func (p *PostServiceImpl) ISelectOneWeb(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IStaged

func (p *PostServiceImpl) IStaged(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IUpdateOne

func (p *PostServiceImpl) IUpdateOne(c *gin.Context, post *po.Post) error

func (*PostServiceImpl) IUpdateOneWeb

func (p *PostServiceImpl) IUpdateOneWeb(c *gin.Context, post *po.Post) error

Jump to

Keyboard shortcuts

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