init: hgmj server initial commit

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 16:50:13 +08:00
co-authored by Claude Opus 4.7
commit 625e89c15d
1870 changed files with 254090 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package router
import (
"91jd-server/app/api/mediactrl"
"github.com/gin-gonic/gin"
)
// mediaRouter 移动端接口
func mediaRouter(router *gin.RouterGroup) {
group := router.Group("/media")
{
group.GET("/info", mediactrl.Info)
group.GET("/topic", mediactrl.GetTopicList)
group.GET("/library", mediactrl.Library)
group.POST("/library/search", mediactrl.LibrarySearch)
group.GET("/search", mediactrl.Search)
// 搜索推荐标签
group.GET("/recommend", mediactrl.Recommend)
group.GET("/ranking", mediactrl.Ranking)
group.GET("/hot", mediactrl.Hot)
group.GET("/my_buy", mediactrl.MyBuy)
}
}