public

package
v0.0.0-...-cfa74d8 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArticleController

type ArticleController struct {
}

ArticleController @Date 2023-02-09 19:59:39 @Description: 文章公共接口

func (ArticleController) ArticleCommentList

func (ArticleController) ArticleCommentList(ctx *gin.Context)

ArticleCommentList @Date 2023-02-24 19:52:27 @Method http.MethodGet @Url /article/comment @Param articleId string 文章ID @Param page int 页数 @Param size int 页容量 @Param desc bool 顺序 @Description: 获取文章的评论列表

func (ArticleController) ArticleInfo

func (a ArticleController) ArticleInfo(ctx *gin.Context)

ArticleInfo @Date 2023-02-20 17:57:40 @Param ctx *gin.Context @Method http.MethodGet @Url /article/info @Description: 查询单个文章信息

func (ArticleController) ArticleList

func (a ArticleController) ArticleList(ctx *gin.Context)

ArticleList @Date 2023-02-20 17:58:35 @Param ctx *gin.Context @Method http.MethodGet @Url /article/list @Description: 分页查询

type Authentication

type Authentication struct {
}

Authentication @Date 2023-01-16 16:04:04 @Description: 用户认证相关接口

func (Authentication) ForgetPassword

func (a Authentication) ForgetPassword(c *gin.Context)

ForgetPassword @Date 2023-02-08 21:24:20 @Param c *gin.Context @Param fgpUser *sysreq.ForgetPassword @Method http.MethodPost @Description: 忘记密码接口

func (Authentication) Login

func (a Authentication) Login(c *gin.Context)

Login @Date 2023-01-16 16:04:15 @Param c *gin.Context @Param email string 用户邮箱 @Param password string 用户密码 @Method GET @Description: 登录接口

func (Authentication) RefreshToken

func (a Authentication) RefreshToken(c *gin.Context)

RefreshToken @Date 2023-01-16 16:09:00 @Param c *gin.Context @Method http.MethodGet @Description: Token刷新接口

func (Authentication) Register

func (a Authentication) Register(c *gin.Context)

Register @Date 2023-01-16 16:04:48 @Param c *gin.Context @Param registerUser sysreq.Register 用户注册表单 @Method http.MethodPost @Description: 注册接口

type Mail

type Mail struct {
}

Mail @Date 2023-02-09 19:39:49 @Description: 公共邮件服务接口

func (*Mail) SendAuthMail

func (m *Mail) SendAuthMail(ctx *gin.Context)

SendAuthMail @Date 2023-02-08 18:06:36 @Param email string 邮箱 @Method http.MethodGet @Description:

type Ping

type Ping struct{}

func (Ping) Ping

func (p Ping) Ping(c *gin.Context)

Ping @Date 2023-02-09 19:40:11 @Param c *gin.Context @Method http.MethodGet @Description: 公共连通测试接口

type UserSimpleController

type UserSimpleController struct {
}

Jump to

Keyboard shortcuts

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