test_data/router/report.chart.go
2024-09-13 15:30:53 +08:00

20 lines
832 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)
reportChartGroup.POST("report/passProbability", reportChartService.PassProbability)
reportChartGroup.POST("report/binProbability", reportChartService.BinProbability)
}
}