lessondata

package
v0.0.0-...-ea8f17e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KnowledgeApi

type KnowledgeApi struct {
}

func (*KnowledgeApi) CreateKnowledge

func (knowledgeApi *KnowledgeApi) CreateKnowledge(c *gin.Context)

CreateKnowledge 创建Knowledge @Tags Knowledge @Summary 创建Knowledge @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body lessondata.Knowledge true "创建Knowledge" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /knowledge/createKnowledge [post]

func (*KnowledgeApi) DeleteKnowledge

func (knowledgeApi *KnowledgeApi) DeleteKnowledge(c *gin.Context)

DeleteKnowledge 删除Knowledge @Tags Knowledge @Summary 删除Knowledge @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body lessondata.Knowledge true "删除Knowledge" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /knowledge/deleteKnowledge [delete]

func (*KnowledgeApi) DeleteKnowledgeByIds

func (knowledgeApi *KnowledgeApi) DeleteKnowledgeByIds(c *gin.Context)

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

func (*KnowledgeApi) FindKnowledge

func (knowledgeApi *KnowledgeApi) FindKnowledge(c *gin.Context)

FindKnowledge 用id查询Knowledge @Tags Knowledge @Summary 用id查询Knowledge @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query lessondata.Knowledge true "用id查询Knowledge" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /knowledge/findKnowledge [get]

func (*KnowledgeApi) GetKnowledgeList

func (knowledgeApi *KnowledgeApi) GetKnowledgeList(c *gin.Context)

GetKnowledgeList 分页获取Knowledge列表 @Tags Knowledge @Summary 分页获取Knowledge列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query lessondataReq.KnowledgeSearch true "分页获取Knowledge列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /knowledge/getKnowledgeList [get]

func (*KnowledgeApi) UpdateKnowledge

func (knowledgeApi *KnowledgeApi) UpdateKnowledge(c *gin.Context)

UpdateKnowledge 更新Knowledge @Tags Knowledge @Summary 更新Knowledge @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body lessondata.Knowledge true "更新Knowledge" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /knowledge/updateKnowledge [put]

Jump to

Keyboard shortcuts

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