chart_permission.go 441 B

123456789101112131415
  1. package routers
  2. import (
  3. "github.com/gin-gonic/gin"
  4. "hongze/hz_crm_eta/controller/crm"
  5. )
  6. func InitChartPermission(r *gin.RouterGroup) {
  7. control := new(crm.ChartPermissionController)
  8. group := r.Group("crm/chart_permission")
  9. group.POST("sync", control.Sync)
  10. group.POST("classify/sync", control.SyncClassifyChartPermission)
  11. group.POST("report/sync", control.SyncReportMapping)
  12. group.POST("keyword/sync", control.SyncKeywordMapping)
  13. }