|
|
|
|
package shiyan
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/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)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|