package shiyan import ( v1 "gin_server_admin/api/v1" "github.com/gin-gonic/gin" ) type ShiyanRouter struct{} func (s *ShiyanRouter) InitShiyanRouter(Router *gin.RouterGroup) { shiyanCodeRouter := Router.Group("shiyan") var authorityApi = v1.ApiGroupApp.ShiyanApiGroup.ShiyanApi { shiyanCodeRouter.POST("/", authorityApi.AddBaseMenu) // 删除回滚记录 shiyanCodeRouter.POST("/digui", authorityApi.DiGui) shiyanCodeRouter.POST("/datamap", authorityApi.GormToMap) shiyanCodeRouter.POST("/jsonstr", authorityApi.ReadJsonFiles) shiyanCodeRouter.POST("/xml", authorityApi.XmlToJson) shiyanCodeRouter.POST("/approve", authorityApi.EstablishApprove) //审批操作 shiyanCodeRouter.POST("/sendbuttonmsg", authorityApi.SendButtonMsg) //实验发送按钮操作 shiyanCodeRouter.POST("/sendbuttonmsgall", authorityApi.SendButtonMessageAll) //实验发送按钮操作全按钮 shiyanCodeRouter.POST("/sendtextmsgall", authorityApi.SendTextMessageAll) //实验发送按钮操作全按钮 shiyanCodeRouter.POST("/sendimagemsgall", authorityApi.SendImageMessageAll) //实验发送按钮操作全按钮 shiyanCodeRouter.POST("/geteatiltemplate", authorityApi.GetEatilTemplate) shiyanCodeRouter.POST("/getrequestoperation", authorityApi.GetRequestOperation) shiyanCodeRouter.POST("/datetime", authorityApi.DateTime) //测试时间 shiyanCodeRouter.GET("deltdutychongfu", authorityApi.DeltDutyChongfu) //方案去重 shiyanCodeRouter.POST("textshiyan", authorityApi.TextShiyan) //比对文本 shiyanCodeRouter.POST("jiami", authorityApi.JiaMi) //比对文本 shiyanCodeRouter.POST("suntar", authorityApi.SunTar) shiyanCodeRouter.POST("dataqianyi", authorityApi.DataQianyi) //数据迁移 shiyanCodeRouter.POST("deletetarget", authorityApi.DeleteTarget) //删除指标提交数据 shiyanCodeRouter.POST("basisman", authorityApi.BasisMan) //根据提交人删除定量数据 shiyanCodeRouter.POST("xiaozhengdingliang", authorityApi.XiaoZhengDingliang) //校正定量审核流水全奖值零奖值封顶值设置 shiyanCodeRouter.POST("evalprocesguidang", authorityApi.EvalProcesGuiDang) //归档审批流程 shiyanCodeRouter.POST("guidangdingliangkaohedata", authorityApi.GuiDangDingLiangKaoHeData) //归档定量考核数据 shiyanCodeRouter.POST("guidangdingxingkaohedata", authorityApi.GuiDangDingXingKaoHeData) //归档定性考核数据 shiyanCodeRouter.POST("shujuyichang", authorityApi.Shujuyichang) //获取数据异常得提交 shiyanCodeRouter.POST("departmentplanversion", authorityApi.DepartmentPlanVersion) //归档部门考核方案版本时间周期问题 shiyanCodeRouter.POST("govthree", authorityApi.GovThree) //行政组织树 shiyanCodeRouter.POST("correctingorg", authorityApi.CorrectingOrg) //校正行政组织 shiyanCodeRouter.POST("delflowdatauser", authorityApi.DelFlowDataUser) //删除人员提交数据 shiyanCodeRouter.POST("dingliangpass", authorityApi.DingLiangPass) //处理定量没有审批流的数据 shiyanCodeRouter.POST("dingxingpass", authorityApi.DingXingPass) //定性考核没有审批流的数据 ShiyanPinYin shiyanCodeRouter.POST("shiyanpinyin", authorityApi.ShiyanPinYin) } }