15 lines
287 B
Go
15 lines
287 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
test_data "testData/api/test.data"
|
|
)
|
|
|
|
func InitImportRouter(R *gin.RouterGroup) {
|
|
importService := test_data.InitImportService()
|
|
importGroup := R.Group("import")
|
|
{
|
|
importGroup.POST("testFile", importService.ImportTestFile)
|
|
}
|
|
}
|