KPI绩效考核系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.1 KiB

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) //实验仓储数据读取
apiRouter.GET("evalproctime", methodBinding.EvalProcTime) //审批流规制发生时间
apiRouter.POST("evalproctime", methodBinding.EvalProcTime) //审批流规制发生时间
}
}