help_doc.go 283 B

12345678910111213
  1. package routers
  2. import (
  3. "eta/eta_docs/controller"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func InitHelpDoc(r *gin.RouterGroup) {
  7. c := new(controller.HelpDocController)
  8. authGroup := r.Group("help_doc/")
  9. authGroup.GET("classify/list", c.ClassifyList)
  10. authGroup.GET("detail", c.Detail)
  11. }