package examtestpage import ( v1 "gin_server_admin/api/v1" "github.com/gin-gonic/gin" ) // 集团框架相关处理数据 type HealthReportHandleRouter struct{} func (g *GroupHandleRouter) InitHealthReporRouter(Router *gin.RouterGroup) (R gin.IRoutes) { groupCodeRouter := Router.Group("wechathealth") var authorityApi = v1.ApiGroupApp.GroupHandleApiGroup.HealthReportStat { groupCodeRouter.POST("/healthlist", authorityApi.HealthList) // 获取健康上报使用统计 groupCodeRouter.POST("/runhealthlist", authorityApi.RunHealthList) //获取健康上报任务ID列表 groupCodeRouter.POST("/posthealthlist", authorityApi.PostReportJobInfo) //获取指定的健康上报任务详情。 groupCodeRouter.POST("/postreportanswerlist", authorityApi.PostReportAnswerList) //获取用户填写答案(分页) groupCodeRouter.POST("/postreportanswerlistall", authorityApi.PostReportAnswerListAll) //全部 groupCodeRouter.GET("/getreportanswerlistall", authorityApi.PostReportAnswerListAll) //全部 groupCodeRouter.POST("/noticeuserlist", authorityApi.NoticeUserList) //报警通知人列表 groupCodeRouter.POST("/looknoticeusercont", authorityApi.LookNoticeUser) //根据ID查询报警人 groupCodeRouter.POST("/addnoticeuser", authorityApi.AddNoticeUser) //添加报警通知人 groupCodeRouter.POST("/eitenoticeuser", authorityApi.EiteNoticeUser) //修改报警通知人 groupCodeRouter.POST("/delnoticeuser", authorityApi.DelNoticeUser) //删除报警通知人 groupCodeRouter.POST("/turnpagesreportanswer", authorityApi.PostReportAnswerListLimit) //翻页获取数据 groupCodeRouter.POST("/sendrelevantpersonnelmsg", authorityApi.SendRelevantPersonnelMsg) //向相关人员发送信息 groupCodeRouter.POST("/getseportstatistics", authorityApi.ReportStatistics) //上报统计 groupCodeRouter.POST("/getnotreported", authorityApi.NotReportedPeople) //未上报 groupCodeRouter.POST("/nationalriskarea", authorityApi.NationalRiskArea) //全国异常地区 groupCodeRouter.POST("/testman", authorityApi.TestMan) //测试 groupCodeRouter.POST("/postreportanswerlisttodayall", authorityApi.PostReportAnswerListTodayAll) //获取当日9点之前全部上报人员 groupCodeRouter.GET("/postreportanswerlisttodayall", authorityApi.PostReportAnswerListTodayAll) //获取当日9点之前全部上报人员 groupCodeRouter.POST("/sendrelevantpersonneltodaymsg", authorityApi.SendRelevantPersonnelTodayMsg) //向相关人员发送信息当日9点 groupCodeRouter.POST("/queryhealthreport", authorityApi.QueryHealthReport) //按日期查询 } return groupCodeRouter }