excel_router.go 454 字节
package routers

import (
	"github.com/beego/beego/v2/server/web"
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-manufacture/pkg/port/beego/controllers"
)

func init() {
	web.Router("/file-import", &controllers.ExcelDataController{}, "Post:FileImport")
	web.Router("/file-export", &controllers.ExcelDataController{}, "Post:FileExport")
	web.Router("/file-import-template/:code", &controllers.ExcelDataController{}, "Get:FileImportTemplate")

}