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.
|
|
|
|
package examapprove
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
v2 "gin_server_admin/api/index"
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type ExamApproveRouter struct{}
|
|
|
|
|
|
|
|
|
|
// 审批
|
|
|
|
|
func (s *ExamApproveRouter) InitShiyanRouter(Router *gin.RouterGroup) {
|
|
|
|
|
shiyanCodeRouter := Router.Group("examine")
|
|
|
|
|
var authorityApi = v2.ApiGroupApp.ExamApproveApi.ExamineApproveApi
|
|
|
|
|
{
|
|
|
|
|
shiyanCodeRouter.POST("", authorityApi.Index) // 入口
|
|
|
|
|
shiyanCodeRouter.POST("/", authorityApi.Index)
|
|
|
|
|
shiyanCodeRouter.GET("", authorityApi.Index)
|
|
|
|
|
shiyanCodeRouter.GET("/", authorityApi.Index)
|
|
|
|
|
|
|
|
|
|
shiyanCodeRouter.POST("getconfig", authorityApi.GetConfing) //获取配置参数
|
|
|
|
|
}
|
|
|
|
|
}
|