test_data/router/report.chart.go
2024-07-17 15:13:00 +08:00

18 lines
662 B
Go

package router
import (
"github.com/gin-gonic/gin"
test_data "testData/api/test.data"
)
func InitReportChartRouter(R *gin.RouterGroup) {
reportChartService := test_data.InitReportChartService()
reportChartGroup := R.Group("")
{
reportChartGroup.POST("report/packagePassProbabilityLine", reportChartService.PackagePassProbabilityLine)
reportChartGroup.POST("report/packageOrderNumberBar", reportChartService.PackageOrderNumberBar)
reportChartGroup.POST("report/fTPassProbabilityByFactory", reportChartService.FTPassProbabilityByFactory)
reportChartGroup.POST("report/fTPassProbabilityByProduct", reportChartService.FTPassProbabilityByProduct)
}
}