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.
21 lines
857 B
21 lines
857 B
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.GET("/healthlist", authorityApi.HealthList) // 获取健康上报使用统计
|
|
groupCodeRouter.GET("/runhealthlist", authorityApi.RunHealthList) //获取健康上报任务ID列表
|
|
groupCodeRouter.GET("/posthealthlist", authorityApi.PostReportJobInfo) //获取指定的健康上报任务详情。
|
|
groupCodeRouter.POST("/postreportanswerlist", authorityApi.PostReportAnswerList)
|
|
}
|
|
return groupCodeRouter
|
|
}
|
|
|