feat:添加按照点赞数的feed流

This commit is contained in:
Leon
2025-12-16 14:02:17 +08:00
parent ead7153cc4
commit 0915e13e8f
6 changed files with 93 additions and 2 deletions

View File

@@ -67,6 +67,7 @@ func SetRouter(db *gorm.DB) *gin.Engine {
feedGroup := r.Group("/feed")
{
feedGroup.POST("/listLatest", feedHandler.ListLatest)
feedGroup.POST("/listLikesCount", feedHandler.ListLikesCount)
}
return r
}