eta_training_video.go 408 B

12345678910111213141516
  1. package routers
  2. import (
  3. "eta/eta_docs/controller"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func InitEtaTrainingVideo(r *gin.RouterGroup) {
  7. c := new(controller.EtaTrainingVideoController)
  8. authGroup := r.Group("training_video/")
  9. authGroup.GET("classify/tree", c.ClassifyTree)
  10. authGroup.GET("tag/list", c.TagList)
  11. authGroup.GET("video/page_list", c.VideoPageList)
  12. authGroup.GET("video/detail", c.VideoDetail)
  13. }