package apishiyan import ( "key_performance_indicators/api/shiyan" "github.com/gin-gonic/gin" ) //实验 func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) { apiRouter := router.Group("shiyan") var methodBinding = shiyan.AppApiEntry.MapToStructApi { apiRouter.GET("", methodBinding.Index) //入口 apiRouter.POST("", methodBinding.Index) //入口 apiRouter.POST("maptostructshiyan", methodBinding.MapToStructShiyan) //map转struct apiRouter.POST("simulationcallback", methodBinding.SimulationCallBack) //模拟回调 apiRouter.POST("setuphrsystem", methodBinding.SetUpHrSystem) //设置HR系统对接账号和密码 apiRouter.POST("cang_chu_three", methodBinding.CangChuThree) //实验仓储数据读取 apiRouter.GET("cang_chu_three", methodBinding.CangChuThree) //实验仓储数据读取 } }