report_classify.go 344 B

1234567891011121314
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. eta2 "hongze/hz_crm_eta/controller/eta"
  5. )
  6. func InitReportClassify(r *gin.RouterGroup) {
  7. control := new(eta2.ClassifyController)
  8. group := r.Group("eta/classify")
  9. group.POST("list", control.ListClassify)
  10. group.POST("edit", control.Edit)
  11. group.POST("enabled/set", control.SetEnabled)
  12. }