HR管理系统
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
484 B

3 years ago
package rolerouter
import (
"hr_server/api/version1"
"github.com/gin-gonic/gin"
)
// 组织架构
func (a *ApiRouter) InitRouterGroup(route *gin.RouterGroup) {
apiRouter := route.Group("role")
var apiHandle = version1.AppApiInlet.RoleApi
{
apiRouter.GET("", apiHandle.Index) //入口
apiRouter.POST("", apiHandle.Index) //入口
apiRouter.POST("get_role_cont_list", apiHandle.GetRoleContList) //角色列表
}
}