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.
32 lines
1.2 KiB
32 lines
1.2 KiB
package appPower
|
|
|
|
import (
|
|
"appPlatform/api/version1"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
/**
|
|
@ 作者: 秦东
|
|
@ 时间: 2025-11-10 10:50:19
|
|
@ 功能: 权限处理
|
|
*/
|
|
|
|
func (a *ApiRouter) RouterGroup(router *gin.RouterGroup) {
|
|
apiRouter := router.Group("authorize")
|
|
|
|
var methodBinding = version1.AppApiEntry.AuthorizeApi
|
|
{
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
|
|
apiRouter.POST("appPowerUnit", methodBinding.AppPowerUnit) //获取平台授权项目
|
|
apiRouter.POST("getMyPeoplceAndSunOrg", methodBinding.GetMyPeopleAndSunOrg) //获取首层子行政组织和本组织下的人员
|
|
apiRouter.POST("getMyPeopleAndSunOrgPost", methodBinding.GetMyPeopleAndSunOrgPost) //获取首层子行政组织和本组织下的岗位及人员
|
|
apiRouter.POST("getPowerPageUser", methodBinding.GetPowerPageUser) //获取人员
|
|
apiRouter.POST("systemAppAuthorization", methodBinding.SystemAppAuthorization) //授权
|
|
apiRouter.POST("getRolePeople", methodBinding.GetRolePeople) //获取角色使用人
|
|
apiRouter.POST("savePickRoleMan", methodBinding.SavePickRoleMan) //保存角色使用人
|
|
}
|
|
|
|
}
|
|
|