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.
19 lines
473 B
19 lines
473 B
|
3 days ago
|
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) //行政组织树
|
||
|
|
}
|
||
|
|
}
|