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

17 lines
501 B
Go

package router
import (
"github.com/gin-gonic/gin"
test_data "testData/api/test.data"
)
func InitChartSelectionRouter(R *gin.RouterGroup) {
chartSelectionService := test_data.InitChartSelectionService()
chartSelectionGroup := R.Group("chart")
{
chartSelectionGroup.GET("productSelection", chartSelectionService.ProductSelection)
chartSelectionGroup.POST("lotSelection", chartSelectionService.LotSelection)
chartSelectionGroup.POST("pbiSelection", chartSelectionService.PBISelection)
}
}