17 lines
501 B
Go
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)
|
|
}
|
|
}
|