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.
23 lines
645 B
23 lines
645 B
|
4 years ago
|
package examapprove
|
||
|
|
|
||
|
|
import (
|
||
|
|
v2 "github.com/flipped-aurora/gin-vue-admin/server/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) //获取配置参数
|
||
|
|
}
|
||
|
|
}
|