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.
27 lines
1.4 KiB
27 lines
1.4 KiB
package examtestpage
|
|
|
|
import (
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/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.POST("/noticeuserlist", authorityApi.NoticeUserList) //报警通知人列表
|
|
groupCodeRouter.POST("/addnoticeuser", authorityApi.AddNoticeUser) //添加报警通知人
|
|
groupCodeRouter.POST("/eitenoticeuser", authorityApi.EiteNoticeUser) //修改报警通知人
|
|
groupCodeRouter.POST("/delnoticeuser", authorityApi.DelNoticeUser) //修改报警通知人
|
|
}
|
|
return groupCodeRouter
|
|
}
|
|
|