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.
18 lines
641 B
18 lines
641 B
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("/getgroupinfos", authorityApi.GetGroupInfos) // 获取集团详细信息
|
|
}
|
|
}
|
|
|