v1

package
v0.0.0-...-2cb3038 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddArticle

func AddArticle(c *gin.Context)

AddArticle 添加文章

func AddCategory

func AddCategory(c *gin.Context)

AddCategory 添加分类

func AddComment

func AddComment(c *gin.Context)

AddComment 新增评论

func AddUser

func AddUser(c *gin.Context)

AddUser 添加用户

func ChangeUserPassword

func ChangeUserPassword(c *gin.Context)

ChangeUserPassword 修改密码

func CheckComment

func CheckComment(c *gin.Context)

CheckComment 通过审核

func DeleteArt

func DeleteArt(c *gin.Context)

DeleteArt 删除文章

func DeleteCate

func DeleteCate(c *gin.Context)

DeleteCate 删除用户

func DeleteComment

func DeleteComment(c *gin.Context)

DeleteComment 删除评论

func DeleteUser

func DeleteUser(c *gin.Context)

DeleteUser 删除用户

func EditArt

func EditArt(c *gin.Context)

EditArt 编辑文章

func EditCate

func EditCate(c *gin.Context)

EditCate 编辑分类名

func EditUser

func EditUser(c *gin.Context)

EditUser 编辑用户

func GetArt

func GetArt(c *gin.Context)

GetArt 查询文章列表

func GetArtInfo

func GetArtInfo(c *gin.Context)

GetArtInfo 查询单个文章信息

func GetCate

func GetCate(c *gin.Context)

GetCate 查询分类列表

func GetCateArt

func GetCateArt(c *gin.Context)

GetCateArt 查询分类下的所有文章

func GetCateInfo

func GetCateInfo(c *gin.Context)

GetCateInfo 查询分类信息

func GetComment

func GetComment(c *gin.Context)

GetComment 获取单个评论信息

func GetCommentCount

func GetCommentCount(c *gin.Context)

GetCommentCount 获取评论数量

func GetCommentList

func GetCommentList(c *gin.Context)

GetCommentList 后台查询评论列表

func GetCommentListFront

func GetCommentListFront(c *gin.Context)

GetCommentListFront 展示页面显示评论列表

func GetProfile

func GetProfile(c *gin.Context)

func GetUserInfo

func GetUserInfo(c *gin.Context)

GetUserInfo 查询单个用户

func GetUsers

func GetUsers(c *gin.Context)

GetUsers 查询用户列表

func Login

func Login(c *gin.Context)

Login 后台登陆

func LoginFront

func LoginFront(c *gin.Context)

LoginFront 前台登录

func UncheckComment

func UncheckComment(c *gin.Context)

UncheckComment 撤下评论审核

func UpLoad

func UpLoad(c *gin.Context)

UpLoad 上传图片接口

func UpdateProfile

func UpdateProfile(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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