优化后台文章页的标签表现
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user