Executable
+15
@@ -0,0 +1,15 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/app/api/mediacontentctrl"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// mediaContent 移动端接口
|
||||
func mediaContentRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/media_content")
|
||||
{
|
||||
group.GET("/list", mediacontentctrl.List)
|
||||
group.GET("/info", mediacontentctrl.Info)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user