Initial commit

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-15 13:57:10 +08:00
co-authored by Claude Opus 5
commit 8679200f41
1897 changed files with 257900 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package router
import (
"91porn-server/app/api/mediactrl"
"github.com/gin-gonic/gin"
)
// mediaRouter 移动端接口
func mediaRouter(router *gin.RouterGroup) {
group := router.Group("/media")
{
group.GET("/list", mediactrl.List)
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)
}
}