article

package
v0.0.0-...-90fe38c Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(c *gin.Context)

Add 新增文章

func Edit

func Edit(c *gin.Context)

Edit 编辑文章

func Info

func Info(c *gin.Context)

@Summary 文章详情 @Produce json @Param id query int true "文章 id" @Success 200 {object} data.Article "成功" @Router /api/article/info [post]

func List

func List(c *gin.Context)

@Summary 文章列表 @Produce json @Param page query int false "页码" @Param category query int false "分类" @Param timeline query int false "时间轴" @Param search query string false "搜索" @Success 200 {object} listResult "成功" @Router /api/article/list [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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