Documentation ¶
Index ¶
- Variables
- type ApiGroup
- type CommentApi
- func (commentApi *CommentApi) CreateComment(c *gin.Context)
- func (commentApi *CommentApi) DeleteComment(c *gin.Context)
- func (commentApi *CommentApi) DeleteCommentByIds(c *gin.Context)
- func (commentApi *CommentApi) FindComment(c *gin.Context)
- func (commentApi *CommentApi) GetCommentList(c *gin.Context)
- func (commentApi *CommentApi) UpdateComment(c *gin.Context)
- type FdArticleApi
- type FdArticleAudioApi
- func (fdArticleAudioApi *FdArticleAudioApi) CreateFdArticleAudio(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) DeleteFdArticleAudio(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) DeleteFdArticleAudioByIds(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) FdArticleCollect(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) FdArticleLike(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) FindFdArticleAudio(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) GetFdArticleAudioList(c *gin.Context)
- func (fdArticleAudioApi *FdArticleAudioApi) UpdateFdArticleAudio(c *gin.Context)
- type FdArticleGraphicApi
- func (fdArticleGraphicApi *FdArticleGraphicApi) CreateFdArticleGraphic(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) DeleteFdArticleGraphic(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) DeleteFdArticleGraphicByIds(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) FdArticleCollect(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) FdArticleLike(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) FindFdArticleGraphic(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) GetArticleListByLevelTwoIDs(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) GetFdArticleGraphicList(c *gin.Context)
- func (fdArticleGraphicApi *FdArticleGraphicApi) UpdateFdArticleGraphic(c *gin.Context)
- type FdArticleLearnApi
- func (fdArticleLearnApi *FdArticleLearnApi) CreateFdArticleLearn(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) DeleteFdArticleLearn(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) DeleteFdArticleLearnByIds(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) FdArticleCollect(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) FdArticleLike(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) FindFdArticleLearn(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) GetBuyArticle(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) GetFdArticleLearnList(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) GetLearnArticleByHmId(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) GetLearnLevel(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) SetBuyArticle(c *gin.Context)
- func (fdArticleLearnApi *FdArticleLearnApi) UpdateFdArticleLearn(c *gin.Context)
- type FdArticleVideoApi
- func (fdArticleVideoApi *FdArticleVideoApi) CreateFdArticleVideo(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) DeleteFdArticleVideo(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) DeleteFdArticleVideoByIds(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) FdArticleCollect(c *gin.Context)
- func (fdArticleAudioApi *FdArticleVideoApi) FdArticleLike(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) FindFdArticleVideo(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) GetFdArticleVideoList(c *gin.Context)
- func (fdArticleVideoApi *FdArticleVideoApi) UpdateFdArticleVideo(c *gin.Context)
- type LevelOneApi
- func (levelOneApi *LevelOneApi) CreateLevelOne(c *gin.Context)
- func (levelOneApi *LevelOneApi) DeleteLevelOne(c *gin.Context)
- func (levelOneApi *LevelOneApi) DeleteLevelOneByIds(c *gin.Context)
- func (levelOneApi *LevelOneApi) FindLevelOne(c *gin.Context)
- func (levelOneApi *LevelOneApi) GetLearnLevelOneList(c *gin.Context)
- func (levelOneApi *LevelOneApi) GetLevelOneList(c *gin.Context)
- func (levelOneApi *LevelOneApi) UpdateLevelOne(c *gin.Context)
- type LevelThreeApi
- func (levelThreeApi *LevelThreeApi) CreateLevelThree(c *gin.Context)
- func (levelThreeApi *LevelThreeApi) DeleteLevelThree(c *gin.Context)
- func (levelThreeApi *LevelThreeApi) DeleteLevelThreeByIds(c *gin.Context)
- func (levelThreeApi *LevelThreeApi) FindLevelThree(c *gin.Context)
- func (levelThreeApi *LevelThreeApi) GetLevelThreeList(c *gin.Context)
- func (levelThreeApi *LevelThreeApi) UpdateLevelThree(c *gin.Context)
- type LevelTwoApi
- func (levelTwoApi *LevelTwoApi) CreateLevelTwo(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) DeleteLevelTwo(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) DeleteLevelTwoByIds(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) FindLevelTwo(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) GetArticle(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) GetLevelTwoList(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) GetLevelTwoListByIds(c *gin.Context)
- func (levelTwoApi *LevelTwoApi) UpdateLevelTwo(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var UserService = service.ServiceGroupApp.UserServiceGroup.UserService
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct { LevelOneApi LevelTwoApi LevelThreeApi FdArticleAudioApi FdArticleGraphicApi FdArticleVideoApi FdArticleLearnApi CommentApi FdArticleApi }
type CommentApi ¶
type CommentApi struct { }
func (*CommentApi) CreateComment ¶
func (commentApi *CommentApi) CreateComment(c *gin.Context)
CreateComment 创建Comment @Tags Comment @Summary 创建Comment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.Comment true "创建Comment" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /comment/createComment [post]
func (*CommentApi) DeleteComment ¶
func (commentApi *CommentApi) DeleteComment(c *gin.Context)
DeleteComment 删除Comment @Tags Comment @Summary 删除Comment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.Comment true "删除Comment" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /comment/deleteComment [delete]
func (*CommentApi) DeleteCommentByIds ¶
func (commentApi *CommentApi) DeleteCommentByIds(c *gin.Context)
DeleteCommentByIds 批量删除Comment @Tags Comment @Summary 批量删除Comment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除Comment" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /comment/deleteCommentByIds [delete]
func (*CommentApi) FindComment ¶
func (commentApi *CommentApi) FindComment(c *gin.Context)
FindComment 用id查询Comment @Tags Comment @Summary 用id查询Comment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.Comment true "用id查询Comment" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /comment/findComment [get]
func (*CommentApi) GetCommentList ¶
func (commentApi *CommentApi) GetCommentList(c *gin.Context)
GetCommentList 分页获取Comment列表 @Tags Comment @Summary 分页获取Comment列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.CommentSearch true "分页获取Comment列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /comment/getCommentList [get]
func (*CommentApi) UpdateComment ¶
func (commentApi *CommentApi) UpdateComment(c *gin.Context)
UpdateComment 更新Comment @Tags Comment @Summary 更新Comment @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.Comment true "更新Comment" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /comment/updateComment [put]
type FdArticleApi ¶
type FdArticleApi struct { }
func (*FdArticleApi) ForwardArticle ¶
func (fdArticleApi *FdArticleApi) ForwardArticle(c *gin.Context)
ForwardArticle 转发文章 @Tags FdArticleAudio @Summary 转发文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "创建FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticle/forwardArticle [put]
func (*FdArticleApi) GetArticle ¶
func (fdArticleApi *FdArticleApi) GetArticle(c *gin.Context)
GetArticle 获取文章 @Tags FdArticleAudio @Summary 创建FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "创建FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticle/getArticle [get]
func (*FdArticleApi) GetHotArticle ¶
func (fdArticleApi *FdArticleApi) GetHotArticle(c *gin.Context)
GetHotArticle 搜索文章&获取热门搜索文章列表 @Tags FdArticleAudio @Summary 搜索文章&获取热门搜索文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "创建FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticle/getHotArticle [get]
func (*FdArticleApi) GetMyCollect ¶
func (fdArticleApi *FdArticleApi) GetMyCollect(c *gin.Context)
GetMyCollect 获取我的收藏文章 @Tags FdArticleAudio @Summary 搜索文章&获取热门搜索文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "创建FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticle/getMyCollect [get]
type FdArticleAudioApi ¶
type FdArticleAudioApi struct { }
func (*FdArticleAudioApi) CreateFdArticleAudio ¶
func (fdArticleAudioApi *FdArticleAudioApi) CreateFdArticleAudio(c *gin.Context)
CreateFdArticleAudio 创建FdArticleAudio @Tags FdArticleAudio @Summary 创建FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "创建FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleAudio/createFdArticleAudio [post]
func (*FdArticleAudioApi) DeleteFdArticleAudio ¶
func (fdArticleAudioApi *FdArticleAudioApi) DeleteFdArticleAudio(c *gin.Context)
DeleteFdArticleAudio 删除FdArticleAudio @Tags FdArticleAudio @Summary 删除FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "删除FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdArticleAudio/deleteFdArticleAudio [delete]
func (*FdArticleAudioApi) DeleteFdArticleAudioByIds ¶
func (fdArticleAudioApi *FdArticleAudioApi) DeleteFdArticleAudioByIds(c *gin.Context)
DeleteFdArticleAudioByIds 批量删除FdArticleAudio @Tags FdArticleAudio @Summary 批量删除FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /fdArticleAudio/deleteFdArticleAudioByIds [delete]
func (*FdArticleAudioApi) FdArticleCollect ¶
func (fdArticleAudioApi *FdArticleAudioApi) FdArticleCollect(c *gin.Context)
FdArticleCollect 收藏Audio @Tags FdArticleAudio @Summary 收藏Audio @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleAudio/collect [get]
func (*FdArticleAudioApi) FdArticleLike ¶
func (fdArticleAudioApi *FdArticleAudioApi) FdArticleLike(c *gin.Context)
FdArticleLike 用id查询FdArticleAudio @Tags FdArticleAudio @Summary 用id查询FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleAudio/like [get]
func (*FdArticleAudioApi) FindFdArticleAudio ¶
func (fdArticleAudioApi *FdArticleAudioApi) FindFdArticleAudio(c *gin.Context)
FindFdArticleAudio 用id查询FdArticleAudio @Tags FdArticleAudio @Summary 用id查询FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.FdArticleAudio true "用id查询FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleAudio/findFdArticleAudio [get]
func (*FdArticleAudioApi) GetFdArticleAudioList ¶
func (fdArticleAudioApi *FdArticleAudioApi) GetFdArticleAudioList(c *gin.Context)
GetFdArticleAudioList 分页获取FdArticleAudio列表 @Tags FdArticleAudio @Summary 分页获取FdArticleAudio列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.FdArticleAudioSearch true "分页获取FdArticleAudio列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleAudio/getFdArticleAudioList [get]
func (*FdArticleAudioApi) UpdateFdArticleAudio ¶
func (fdArticleAudioApi *FdArticleAudioApi) UpdateFdArticleAudio(c *gin.Context)
UpdateFdArticleAudio 更新FdArticleAudio @Tags FdArticleAudio @Summary 更新FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleAudio true "更新FdArticleAudio" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdArticleAudio/updateFdArticleAudio [put]
type FdArticleGraphicApi ¶
type FdArticleGraphicApi struct { }
func (*FdArticleGraphicApi) CreateFdArticleGraphic ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) CreateFdArticleGraphic(c *gin.Context)
CreateFdArticleGraphic 创建FdArticleGraphic @Tags FdArticleGraphic @Summary 创建FdArticleGraphic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleGraphic true "创建FdArticleGraphic" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleGraphic/createFdArticleGraphic [post]
func (*FdArticleGraphicApi) DeleteFdArticleGraphic ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) DeleteFdArticleGraphic(c *gin.Context)
DeleteFdArticleGraphic 删除FdArticleGraphic @Tags FdArticleGraphic @Summary 删除FdArticleGraphic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleGraphic true "删除FdArticleGraphic" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdArticleGraphic/deleteFdArticleGraphic [delete]
func (*FdArticleGraphicApi) DeleteFdArticleGraphicByIds ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) DeleteFdArticleGraphicByIds(c *gin.Context)
DeleteFdArticleGraphicByIds 批量删除FdArticleGraphic @Tags FdArticleGraphic @Summary 批量删除FdArticleGraphic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除FdArticleGraphic" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /fdArticleGraphic/deleteFdArticleGraphicByIds [delete]
func (*FdArticleGraphicApi) FdArticleCollect ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) FdArticleCollect(c *gin.Context)
FdArticleCollect 收藏 @Tags FdArticleGraphic @Summary 收藏 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleGraphic/collect [get]
func (*FdArticleGraphicApi) FdArticleLike ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) FdArticleLike(c *gin.Context)
FdArticleLike 用id查询FdArticleAudio @Tags FdArticleAudio @Summary 用id查询FdArticleAudio @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleAudio/like [get]
func (*FdArticleGraphicApi) FindFdArticleGraphic ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) FindFdArticleGraphic(c *gin.Context)
FindFdArticleGraphic 用id查询FdArticleGraphic @Tags FdArticleGraphic @Summary 用id查询FdArticleGraphic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.FdArticleGraphic true "用id查询FdArticleGraphic" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleGraphic/findFdArticleGraphic [get]
func (*FdArticleGraphicApi) GetArticleListByLevelTwoIDs ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) GetArticleListByLevelTwoIDs(c *gin.Context)
GetArticleListByLevelTwoIDs 根据二级ID集合获取文章列表 @Tags FdArticleGraphic @Summary 根据二级ID集合获取文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.FdArticleGraphicSearch true "根据二级ID集合获取文章列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleGraphic/getArticleListByLevelTwoIDs [get]
func (*FdArticleGraphicApi) GetFdArticleGraphicList ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) GetFdArticleGraphicList(c *gin.Context)
GetFdArticleGraphicList 分页获取图文类型文章列表 @Tags FdArticleGraphic @Summary 分页获取FdArticleGraphic列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.FdArticleGraphicSearch true "分页获取图文类型文章列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleGraphic/getFdArticleGraphicList [get]
func (*FdArticleGraphicApi) UpdateFdArticleGraphic ¶
func (fdArticleGraphicApi *FdArticleGraphicApi) UpdateFdArticleGraphic(c *gin.Context)
UpdateFdArticleGraphic 更新FdArticleGraphic @Tags FdArticleGraphic @Summary 更新FdArticleGraphic @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleGraphic true "更新FdArticleGraphic" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdArticleGraphic/updateFdArticleGraphic [put]
type FdArticleLearnApi ¶
type FdArticleLearnApi struct { }
func (*FdArticleLearnApi) CreateFdArticleLearn ¶
func (fdArticleLearnApi *FdArticleLearnApi) CreateFdArticleLearn(c *gin.Context)
CreateFdArticleLearn 创建FdArticleLearn @Tags FdArticleLearn @Summary 创建FdArticleLearn @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleLearn true "创建FdArticleLearn" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleLearn/createFdArticleLearn [post]
func (*FdArticleLearnApi) DeleteFdArticleLearn ¶
func (fdArticleLearnApi *FdArticleLearnApi) DeleteFdArticleLearn(c *gin.Context)
DeleteFdArticleLearn 删除学习文章 @Tags FdArticleLearn @Summary 删除学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleVideo true "删除学习文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdArticleLearn/deleteFdArticleLearn [delete]
func (*FdArticleLearnApi) DeleteFdArticleLearnByIds ¶
func (fdArticleLearnApi *FdArticleLearnApi) DeleteFdArticleLearnByIds(c *gin.Context)
DeleteFdArticleLearnByIds 批量删除学习文章 @Tags FdArticleLearn @Summary 批量删除学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除学习文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除学习文章"}" @Router /fdArticleVideo/deleteFdArticleLearnByIds [delete]
func (*FdArticleLearnApi) FdArticleCollect ¶
func (fdArticleLearnApi *FdArticleLearnApi) FdArticleCollect(c *gin.Context)
FdArticleCollect 收藏&取消收藏 @Tags FdArticleLearn @Summary 收藏&取消收藏 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"收藏&取消收藏成功"}" @Router /fdArticleLearn/collect [get]
func (*FdArticleLearnApi) FdArticleLike ¶
func (fdArticleLearnApi *FdArticleLearnApi) FdArticleLike(c *gin.Context)
FdArticleLike 点赞&取消点赞 @Tags FdArticleLearn @Summary 点赞&取消点赞 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"点赞&取消点赞成功"}" @Router /fdArticleLearn/like [get]
func (*FdArticleLearnApi) FindFdArticleLearn ¶
func (fdArticleLearnApi *FdArticleLearnApi) FindFdArticleLearn(c *gin.Context)
FindFdArticleLearn 用id查询学习文章 @Tags FdArticleVideo @Summary 用id查询学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.FdArticleLearn true "用id查询学习文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleLearn/findFdArticleLearn [get]
func (*FdArticleLearnApi) GetBuyArticle ¶
func (fdArticleLearnApi *FdArticleLearnApi) GetBuyArticle(c *gin.Context)
GetBuyArticle 获取购买学习文章 @Tags FdArticleLearn @Summary 获取购买学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取购买学习文章"}" @Router /fdArticleLearn/getBuyArticle [get]
func (*FdArticleLearnApi) GetFdArticleLearnList ¶
func (fdArticleLearnApi *FdArticleLearnApi) GetFdArticleLearnList(c *gin.Context)
GetFdArticleLearnList 分页获取学习文章 @Tags FdArticleLearn @Summary 分页获取学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.FdArticleLearnSearch true "分页获取学习文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleLearn/getFdArticleLearnList [get]
func (*FdArticleLearnApi) GetLearnArticleByHmId ¶
func (fdArticleLearnApi *FdArticleLearnApi) GetLearnArticleByHmId(c *gin.Context)
GetLearnArticleByHmId 获取学习文章列表【健管师端】 @Tags FdArticleLearn @Summary 获取学习文章列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取学习文章列表"}" @Router /fdArticleLearn/getLearnArticleByHmId [get]
func (*FdArticleLearnApi) GetLearnLevel ¶
func (fdArticleLearnApi *FdArticleLearnApi) GetLearnLevel(c *gin.Context)
GetLearnLevel 获取学习目录【健管师端】 @Tags FdArticleLearn @Summary 获取学习目录 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"获取学习目录"}" @Router /fdArticleLearn/getLearnLevel [get]
func (*FdArticleLearnApi) SetBuyArticle ¶
func (fdArticleLearnApi *FdArticleLearnApi) SetBuyArticle(c *gin.Context)
SetBuyArticle 设置购买学习文章 @Tags FdArticleLearn @Summary 设置购买学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"设置购买学习文章"}" @Router /fdArticleLearn/setBugArticle [get]
func (*FdArticleLearnApi) UpdateFdArticleLearn ¶
func (fdArticleLearnApi *FdArticleLearnApi) UpdateFdArticleLearn(c *gin.Context)
UpdateFdArticleLearn 更新学习文章 @Tags FdArticleLearn @Summary 更新学习文章 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleLearn true "更新学习文章" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdArticleLearn/updateFdArticleLearn [put]
type FdArticleVideoApi ¶
type FdArticleVideoApi struct { }
func (*FdArticleVideoApi) CreateFdArticleVideo ¶
func (fdArticleVideoApi *FdArticleVideoApi) CreateFdArticleVideo(c *gin.Context)
CreateFdArticleVideo 创建FdArticleVideo @Tags FdArticleVideo @Summary 创建FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleVideo true "创建FdArticleVideo" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleVideo/createFdArticleVideo [post]
func (*FdArticleVideoApi) DeleteFdArticleVideo ¶
func (fdArticleVideoApi *FdArticleVideoApi) DeleteFdArticleVideo(c *gin.Context)
DeleteFdArticleVideo 删除FdArticleVideo @Tags FdArticleVideo @Summary 删除FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleVideo true "删除FdArticleVideo" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /fdArticleVideo/deleteFdArticleVideo [delete]
func (*FdArticleVideoApi) DeleteFdArticleVideoByIds ¶
func (fdArticleVideoApi *FdArticleVideoApi) DeleteFdArticleVideoByIds(c *gin.Context)
DeleteFdArticleVideoByIds 批量删除FdArticleVideo @Tags FdArticleVideo @Summary 批量删除FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除FdArticleVideo" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /fdArticleVideo/deleteFdArticleVideoByIds [delete]
func (*FdArticleVideoApi) FdArticleCollect ¶
func (fdArticleVideoApi *FdArticleVideoApi) FdArticleCollect(c *gin.Context)
FdArticleCollect 收藏Video @Tags FdArticleVideo @Summary 收藏Video @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleVideo/collect [get]
func (*FdArticleVideoApi) FdArticleLike ¶
func (fdArticleAudioApi *FdArticleVideoApi) FdArticleLike(c *gin.Context)
FdArticleCollect 喜欢FdArticle @Tags FdArticleVideo @Summary 用id查询FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleAudio/like [get]
func (*FdArticleVideoApi) FindFdArticleVideo ¶
func (fdArticleVideoApi *FdArticleVideoApi) FindFdArticleVideo(c *gin.Context)
FindFdArticleVideo 用id查询FdArticleVideo @Tags FdArticleVideo @Summary 用id查询FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.FdArticleVideo true "用id查询FdArticleVideo" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /fdArticleVideo/findFdArticleVideo [get]
func (*FdArticleVideoApi) GetFdArticleVideoList ¶
func (fdArticleVideoApi *FdArticleVideoApi) GetFdArticleVideoList(c *gin.Context)
GetFdArticleVideoList 分页获取FdArticleVideo列表 @Tags FdArticleVideo @Summary 分页获取FdArticleVideo列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.FdArticleVideoSearch true "分页获取FdArticleVideo列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /fdArticleVideo/getFdArticleVideoList [get]
func (*FdArticleVideoApi) UpdateFdArticleVideo ¶
func (fdArticleVideoApi *FdArticleVideoApi) UpdateFdArticleVideo(c *gin.Context)
UpdateFdArticleVideo 更新FdArticleVideo @Tags FdArticleVideo @Summary 更新FdArticleVideo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.FdArticleVideo true "更新FdArticleVideo" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /fdArticleVideo/updateFdArticleVideo [put]
type LevelOneApi ¶
type LevelOneApi struct { }
func (*LevelOneApi) CreateLevelOne ¶
func (levelOneApi *LevelOneApi) CreateLevelOne(c *gin.Context)
CreateLevelOne 创建LevelOne @Tags LevelOne @Summary 创建LevelOne @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelOne true "创建LevelOne" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelOne/createLevelOne [post]
func (*LevelOneApi) DeleteLevelOne ¶
func (levelOneApi *LevelOneApi) DeleteLevelOne(c *gin.Context)
DeleteLevelOne 删除LevelOne @Tags LevelOne @Summary 删除LevelOne @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelOne true "删除LevelOne" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /levelOne/deleteLevelOne [delete]
func (*LevelOneApi) DeleteLevelOneByIds ¶
func (levelOneApi *LevelOneApi) DeleteLevelOneByIds(c *gin.Context)
DeleteLevelOneByIds 批量删除LevelOne @Tags LevelOne @Summary 批量删除LevelOne @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除LevelOne" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /levelOne/deleteLevelOneByIds [delete]
func (*LevelOneApi) FindLevelOne ¶
func (levelOneApi *LevelOneApi) FindLevelOne(c *gin.Context)
FindLevelOne 用id查询LevelOne @Tags LevelOne @Summary 用id查询LevelOne @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.LevelOne true "用id查询LevelOne" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /levelOne/findLevelOne [get]
func (*LevelOneApi) GetLearnLevelOneList ¶
func (levelOneApi *LevelOneApi) GetLearnLevelOneList(c *gin.Context)
GetLearnLevelOneList 分页获取学习文章一级列表 @Tags LevelOne @Summary 分页获取学习文章一级列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelOneSearch true "分页获取学习文章一级列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelOne/getLearnLevelOneList [get]
func (*LevelOneApi) GetLevelOneList ¶
func (levelOneApi *LevelOneApi) GetLevelOneList(c *gin.Context)
GetLevelOneList 分页获取LevelOne列表 @Tags LevelOne @Summary 分页获取LevelOne列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelOneSearch true "分页获取LevelOne列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelOne/getLevelOneList [get]
func (*LevelOneApi) UpdateLevelOne ¶
func (levelOneApi *LevelOneApi) UpdateLevelOne(c *gin.Context)
UpdateLevelOne 更新LevelOne @Tags LevelOne @Summary 更新LevelOne @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelOne true "更新LevelOne" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /levelOne/updateLevelOne [put]
type LevelThreeApi ¶
type LevelThreeApi struct { }
func (*LevelThreeApi) CreateLevelThree ¶
func (levelThreeApi *LevelThreeApi) CreateLevelThree(c *gin.Context)
CreateLevelThree 创建LevelThree @Tags LevelThree @Summary 创建LevelThree @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelThree true "创建LevelThree" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelThree/createLevelThree [post]
func (*LevelThreeApi) DeleteLevelThree ¶
func (levelThreeApi *LevelThreeApi) DeleteLevelThree(c *gin.Context)
DeleteLevelThree 删除LevelThree @Tags LevelThree @Summary 删除LevelThree @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelThree true "删除LevelThree" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /levelThree/deleteLevelThree [delete]
func (*LevelThreeApi) DeleteLevelThreeByIds ¶
func (levelThreeApi *LevelThreeApi) DeleteLevelThreeByIds(c *gin.Context)
DeleteLevelThreeByIds 批量删除LevelThree @Tags LevelThree @Summary 批量删除LevelThree @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除LevelThree" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /levelThree/deleteLevelThreeByIds [delete]
func (*LevelThreeApi) FindLevelThree ¶
func (levelThreeApi *LevelThreeApi) FindLevelThree(c *gin.Context)
FindLevelThree 用id查询LevelThree @Tags LevelThree @Summary 用id查询LevelThree @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.LevelThree true "用id查询LevelThree" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /levelThree/findLevelThree [get]
func (*LevelThreeApi) GetLevelThreeList ¶
func (levelThreeApi *LevelThreeApi) GetLevelThreeList(c *gin.Context)
GetLevelThreeList 分页获取LevelThree列表 @Tags LevelThree @Summary 分页获取LevelThree列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelThreeSearch true "分页获取LevelThree列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelThree/getLevelThreeList [get]
func (*LevelThreeApi) UpdateLevelThree ¶
func (levelThreeApi *LevelThreeApi) UpdateLevelThree(c *gin.Context)
UpdateLevelThree 更新LevelThree @Tags LevelThree @Summary 更新LevelThree @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelThree true "更新LevelThree" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /levelThree/updateLevelThree [put]
type LevelTwoApi ¶
type LevelTwoApi struct { }
func (*LevelTwoApi) CreateLevelTwo ¶
func (levelTwoApi *LevelTwoApi) CreateLevelTwo(c *gin.Context)
CreateLevelTwo 创建LevelTwo @Tags LevelTwo @Summary 创建LevelTwo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelTwo true "创建LevelTwo" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelTwo/createLevelTwo [post]
func (*LevelTwoApi) DeleteLevelTwo ¶
func (levelTwoApi *LevelTwoApi) DeleteLevelTwo(c *gin.Context)
DeleteLevelTwo 删除LevelTwo @Tags LevelTwo @Summary 删除LevelTwo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelTwo true "删除LevelTwo" @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}" @Router /levelTwo/deleteLevelTwo [delete]
func (*LevelTwoApi) DeleteLevelTwoByIds ¶
func (levelTwoApi *LevelTwoApi) DeleteLevelTwoByIds(c *gin.Context)
DeleteLevelTwoByIds 批量删除LevelTwo @Tags LevelTwo @Summary 批量删除LevelTwo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.IdsReq true "批量删除LevelTwo" @Success 200 {string} string "{"success":true,"data":{},"msg":"批量删除成功"}" @Router /levelTwo/deleteLevelTwoByIds [delete]
func (*LevelTwoApi) FindLevelTwo ¶
func (levelTwoApi *LevelTwoApi) FindLevelTwo(c *gin.Context)
FindLevelTwo 用id查询LevelTwo @Tags LevelTwo @Summary 用id查询LevelTwo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchy.LevelTwo true "用id查询LevelTwo" @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}" @Router /levelTwo/findLevelTwo [get]
func (*LevelTwoApi) GetArticle ¶
func (levelTwoApi *LevelTwoApi) GetArticle(c *gin.Context)
GetLevelTwoList 分页获取LevelTwo列表 @Tags LevelTwo @Summary 分页获取LevelTwo列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelTwoSearch true "分页获取LevelTwo列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelTwo/getArticle [get]
func (*LevelTwoApi) GetLevelTwoList ¶
func (levelTwoApi *LevelTwoApi) GetLevelTwoList(c *gin.Context)
GetLevelTwoList 分页获取LevelTwo列表 @Tags LevelTwo @Summary 分页获取LevelTwo列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelTwoSearch true "分页获取LevelTwo列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelTwo/getLevelTwoList [get]
func (*LevelTwoApi) GetLevelTwoListByIds ¶
func (levelTwoApi *LevelTwoApi) GetLevelTwoListByIds(c *gin.Context)
GetLevelTwoListByIds 根据ID集合获取二级目录列表 @Tags LevelTwo @Summary 根据ID集合获取二级目录列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query hierarchyReq.LevelTwoSearch true "根据ID集合获取二级目录列表" @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" @Router /levelTwo/getLevelTwoListByIds [get]
func (*LevelTwoApi) UpdateLevelTwo ¶
func (levelTwoApi *LevelTwoApi) UpdateLevelTwo(c *gin.Context)
UpdateLevelTwo 更新LevelTwo @Tags LevelTwo @Summary 更新LevelTwo @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body hierarchy.LevelTwo true "更新LevelTwo" @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}" @Router /levelTwo/updateLevelTwo [put]