优化后台文章页的标签表现

This commit is contained in:
2026-09-04 17:21:45 +08:00
parent 533f31e868
commit 7f5bb974fa
6 changed files with 473 additions and 14 deletions
+3
View File
@@ -76,6 +76,9 @@ func setupAuthenticatedAPIRoutes(api *gin.RouterGroup) {
// 分类读取
auth.GET("/categories", backend.GetCategories)
// 标签读取(文章表单的标签候选,所有登录用户可用)
auth.GET("/tags", backend.GetTags)
// 评论管理(查看所有评论,需登录)
auth.GET("/comments", backend.GetComments)
auth.PUT("/comments/:id/approve", backend.ApproveComment)