article

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

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

Go to latest
Published: Nov 5, 2018 License: GPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllList

func AllList(c *gin.Context)

AllList 文章列表,后台管理提供的接口

func Create

func Create(c *gin.Context)

Create 创建文章

func Delete

func Delete(c *gin.Context)

Delete �删除文章

func DeleteTop

func DeleteTop(c *gin.Context)

DeleteTop 取消文章置顶

func Info

func Info(c *gin.Context)

Info 获取文章信息

func List

func List(c *gin.Context)

List 文章列表

func ListMaxBrowse

func ListMaxBrowse(c *gin.Context)

ListMaxBrowse �访问量最多的文章,返回5条

func ListMaxComment

func ListMaxComment(c *gin.Context)

ListMaxComment �评论最多的文章,返回5条

func Top

func Top(c *gin.Context)

Top 文章置顶

func Tops

func Tops(c *gin.Context)

Tops �所有置顶文章

func Update

func Update(c *gin.Context)

Update 更新文章

func UpdateStatus

func UpdateStatus(c *gin.Context)

UpdateStatus 更新文章状态

func UserArticleList

func UserArticleList(c *gin.Context)

UserArticleList 查询用户的文章

Types

This section is empty.

Jump to

Keyboard shortcuts

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