feat: 百科分类api

This commit is contained in:
Blizzard
2026-02-07 16:42:43 +08:00
parent 9adad90490
commit 15a25555c4
16 changed files with 379 additions and 12 deletions
+3 -3
View File
@@ -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