topic

package
v0.0.0-...-5e8989d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGroup

type ApiGroup struct {
	TopicApi
}

type TopicApi

type TopicApi struct {
}

func (*TopicApi) CreateTopic

func (toPicApi *TopicApi) CreateTopic(c *gin.Context)

CreateTopic 创建Topic @Tags Topic @Summary 创建Topic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body topic.Topic true "创建Topic" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /toPic/createTopic [post]

func (*TopicApi) DeleteTopic

func (toPicApi *TopicApi) DeleteTopic(c *gin.Context)

DeleteTopic 删除Topic @Tags Topic @Summary 删除Topic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body topic.Topic true "删除Topic" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /toPic/deleteTopic [delete]

func (*TopicApi) DeleteTopicByIds

func (toPicApi *TopicApi) DeleteTopicByIds(c *gin.Context)

DeleteTopicByIds 批量删除Topic @Tags Topic @Summary 批量删除Topic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Topic" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /toPic/deleteTopicByIds [delete]

func (*TopicApi) FindTopic

func (toPicApi *TopicApi) FindTopic(c *gin.Context)

FindTopic 用id查询Topic @Tags Topic @Summary 用id查询Topic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query topic.Topic true "用id查询Topic" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /toPic/findTopic [get]

func (*TopicApi) GetAppTopicList

func (toPicApi *TopicApi) GetAppTopicList(c *gin.Context)

GetAppTopicList 获取话题列表 @Tags Topic @Summary 分页获取Topic列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query topicReq.TopicSearch true "获取话题列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /toPic/getTopicList [get]

func (*TopicApi) GetTopicList

func (toPicApi *TopicApi) GetTopicList(c *gin.Context)

GetTopicList 分页获取Topic列表 @Tags Topic @Summary 分页获取Topic列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query topicReq.TopicSearch true "分页获取Topic列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /toPic/getTopicList [get]

func (*TopicApi) UpdateTopic

func (toPicApi *TopicApi) UpdateTopic(c *gin.Context)

UpdateTopic 更新Topic @Tags Topic @Summary 更新Topic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body topic.Topic true "更新Topic" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /toPic/updateTopic [put]

Jump to

Keyboard shortcuts

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