Back to godoc.org

Package handlers

v0.0.0-...-1500949
Latest Go to latest

The latest major version is .

Published: Nov 1, 2019 | License: MIT | Module: github.com/airdb/bbs-api

Index

func ListArea

func ListArea(c *gin.Context)

ListArea godoc @Summary List area @Description List area @Tags area @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /area/list [get]

func ListArticle

func ListArticle(c *gin.Context)

ListArticle godoc @Summary List Articles @Description List Articles @Tags article @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /article/list [get]

func ListCarousel

func ListCarousel(c *gin.Context)

// QueryCarousel godoc // @Summary Query carousel // @Description Query carousel // @Tags carousel // @Accept json // @Produce json // @Param req body vo.ListCarouselReq true "Record" // @Success 200 {object} vo.ListCarouselResp // @Router /carousel/list [get]

func ListNotice

func ListNotice(c *gin.Context)

ListNotice godoc @Summary List notice @Description List notice @Tags notice @Accept json @Produce json @Param req body vo.ListNoticeReq true "Record" @Success 200 {object} vo.ListNoticeResp @Router /notice/list [get]

func ListSquare

func ListSquare(c *gin.Context)

ListSquare godoc @Summary List square @Description List square @Tags square @Accept json @Produce json @Param req body vo.ListSquareReq true "Record" @Success 200 {object} vo.ListSquareResp @Router /square/list [get]

func QueryArea

func QueryArea(c *gin.Context)

QueryArea godoc @Summary Query area @Description Query area @Tags area @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /area/getAll/:pid [get]

func QueryArticle

func QueryArticle(c *gin.Context)

QueryAritcle godoc @Summary Query article @Description Query article @Tags article @Accept json @Produce json @Param req body vo.QueryArticleReq true "Record" @Success 200 {object} vo.QueryArticleResp @Router /article/list [get]

func QueryBBS

func QueryBBS(c *gin.Context)

QueryBBS godoc @Summary for QQ robot query article @Description Query article @Tags article @Accept json @Produce json @Param req body vo.QQRobotQueryReq true "Message" @Success 200 {string} string vo.QQRobotQueryResp @Router /robot/query [get]

func QueryCharts

func QueryCharts(c *gin.Context)

QueryChart godoc @Summary Query area @Description Query area @Tags chart @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /chart/query/:pid [get]

func QueryColumn

func QueryColumn(c *gin.Context)

QueryColumn godoc @Summary Query area @Description Query area @Tags column @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /column/query/:pid [get]

func QueryCount

func QueryCount(c *gin.Context)

QueryCount godoc @Summary Query count @Description Query count @Tags count @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /count/query/:pid [get]

func QueryDataPerms

func QueryDataPerms(c *gin.Context)

QueryPerm godoc @Summary Query area @Description Query area @Tags perm @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /perm/query/:pid [get]

func QueryDraft

func QueryDraft(c *gin.Context)

QueryDraft godoc @Summary Query draft @Description Query draft @Tags draft @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /draft/query/:pid [get]

func QueryFile

func QueryFile(c *gin.Context)

QueryFile godoc @Summary Query file @Description Query file @Tags file @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /file/query/:pid [get]

func QueryFolder

func QueryFolder(c *gin.Context)

QueryFolder godoc @Summary Query folder @Description Query folder @Tags folder @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /folder/query/:pid [get]

func QueryLog

func QueryLog(c *gin.Context)

QueryLog godoc @Summary Query log @Description Query log @Tags log @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /log/getAll/:pid [get]

func QueryMenu

func QueryMenu(c *gin.Context)

QueryMenu godoc @Summary Query menu @Description Query menu @Tags menu @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /menu/getAll/:pid [get]

func QueryQuestion

func QueryQuestion(c *gin.Context)

QueryQuestion godoc @Summary Query question @Description Query question @Tags question @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /question/getAll/:pid [get]

func QueryRole

func QueryRole(c *gin.Context)

QueryRole godoc @Summary Query role @Description Query role @Tags role @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /role/getAll/:pid [get]

func QueryRoleRelation

func QueryRoleRelation(c *gin.Context)

QueryRoleRelation godoc @Summary Query role_relation @Description Query role_relation @Tags role_relation @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /role_relation/getAll/:pid [get]

func QueryTag

func QueryTag(c *gin.Context)

QueryTag godoc @Summary Query tag @Description Query tag @Tags tag @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /tag/getAll/:pid [get]

func QueryTagRelation

func QueryTagRelation(c *gin.Context)

QueryTagRelation godoc @Summary Query tag_relation @Description Query tag_relation @Tags tag_relation @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /tag_relation/getAll/:pid [get]

func QueryTopic

func QueryTopic(c *gin.Context)

QueryTopic godoc @Summary Query topic @Description Query topic @Tags topic @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /topic/getAll/:pid [get]

func QueryUser

func QueryUser(c *gin.Context)

QueryUser godoc @Summary Query user @Description Query user @Tags user @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /user/getAll/:pid [get]

func UpdateArea

func UpdateArea(c *gin.Context)

UpdateArea godoc @Summary Update area @Description update area @Tags area @Accept json @Produce json @Param req body vo.ListArticleReq true "Record" @Success 200 {object} vo.ListArticleResp @Router /area/update [get]

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier