应用集成平台服务端
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
473 B

package hrRoute
import (
"appPlatform/api/version1"
"github.com/gin-gonic/gin"
)
// 授权
func (p *ApiRouter) InitRouterGroup(route *gin.RouterGroup) {
apiRouter := route.Group("hr")
var apiHandle = version1.AppApiEntry.HrApi
{
apiRouter.GET("", apiHandle.Index) //入口
apiRouter.POST("", apiHandle.Index) //入口
apiRouter.POST("authorizeOrgTree", apiHandle.AuthorizeOrgTree) //行政组织树
}
}