refactor: 1.修正api auth 2.帖子话题业务

This commit is contained in:
Blizzard
2026-02-07 15:52:54 +08:00
parent e4de80eecc
commit 9adad90490
17 changed files with 314 additions and 35 deletions
+1
View File
@@ -7,6 +7,7 @@ type PostRouter struct{}
func (p *PostRouter) InitPostRouter(Router *gin.RouterGroup) {
postRouter := Router.Group("post")
{
// 帖子
postRouter.POST("publish", postApi.PublishPost) // 发布帖子
postRouter.POST("page", postApi.PostPage) // 帖子列表
postRouter.GET("like", postApi.LikePost) // 点赞或者取消点赞