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 examtestpage
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
v1 "github.com/flipped-aurora/gin-vue-admin/server/api/v1"
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
//集团框架相关处理数据
|
|
|
|
|
type GroupHandleRouter struct{}
|
|
|
|
|
|
|
|
|
|
func (g *GroupHandleRouter) InitGroupRouter(Router *gin.RouterGroup) {
|
|
|
|
|
shiyanCodeRouter := Router.Group("group")
|
|
|
|
|
var authorityApi = v1.ApiGroupApp.GroupHandleApiGroup.GroupHandleApi
|
|
|
|
|
{
|
|
|
|
|
shiyanCodeRouter.GET("/grouplist", authorityApi.GroupList) // 获取集团架构列表
|
|
|
|
|
shiyanCodeRouter.POST("/getgroupinfo", authorityApi.GetGroupInfo) // 获取集团详细信息
|
|
|
|
|
shiyanCodeRouter.POST("/getsubsidiaryinfo", authorityApi.GetSubsidiaryInfo) // 获取子公司详细信息
|
|
|
|
|
shiyanCodeRouter.POST("/getgrouppositioninfo", authorityApi.GetGroupPositionInfo) // 获取工段详细信息
|
|
|
|
|
}
|
|
|
|
|
}
|