12345678910111213141516 |
- package routers
- import (
- "eta/eta_docs/controller"
- "github.com/gin-gonic/gin"
- )
- func InitEtaTrainingVideo(r *gin.RouterGroup) {
- c := new(controller.EtaTrainingVideoController)
- authGroup := r.Group("training_video/")
- authGroup.GET("classify/tree", c.ClassifyTree)
- authGroup.GET("tag/list", c.TagList)
- authGroup.GET("video/page_list", c.VideoPageList)
- authGroup.GET("video/detail", c.VideoDetail)
- }
|