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.
29 lines
1.2 KiB
29 lines
1.2 KiB
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)
|
|
}
|
|
}
|
|
|