feat: 百科分类api
This commit is contained in:
@@ -77,8 +77,8 @@ func (a *TopicApi) TopicPage(c *gin.Context) {
|
||||
}
|
||||
list, total, err := topicService.TopicPage(req)
|
||||
if err != nil {
|
||||
global.Logger.Error("修改话题失败", zap.Error(err))
|
||||
response.FailWithMsg("修改话题失败", c)
|
||||
global.Logger.Error("分页话题失败", zap.Error(err))
|
||||
response.FailWithMsg("分页话题失败", c)
|
||||
return
|
||||
}
|
||||
response.OkWithData(response.PageResult{
|
||||
@@ -127,7 +127,7 @@ func (a *TopicApi) TopicDetail(c *gin.Context) {
|
||||
|
||||
}
|
||||
|
||||
// DeleteTopic 删除植物
|
||||
// DeleteTopic 删除话题
|
||||
// @Tags 帖子话题
|
||||
// @Summary 删除任务
|
||||
// @Security BearerAuth
|
||||
|
||||
Reference in New Issue
Block a user