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.
23 lines
993 B
23 lines
993 B
package grantsystempower
|
|
|
|
import (
|
|
"appPlatform/api/version1"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 权力配置
|
|
func (a *ApiRouter) RouterGroupPc(router *gin.RouterGroup) {
|
|
apiRouter := router.Group("grant")
|
|
|
|
var methodBinding = version1.AppApiEntry.GranSystemPowerApi
|
|
{
|
|
apiRouter.GET("", methodBinding.Index) //入口
|
|
apiRouter.POST("", methodBinding.Index) //入口
|
|
apiRouter.POST("get_post_grant_powers", methodBinding.GetPostGrantPowers) //获取岗位已配置的权限
|
|
apiRouter.POST("get_role_grant_powers", methodBinding.GetRoleGrantPowers) //获取角色已配置的权限
|
|
apiRouter.POST("gainAppList", methodBinding.GainAppList) //不分类别的自定义App列表
|
|
apiRouter.POST("gainAppTableList", methodBinding.GainAppTableList) //获取对应App下边的表单
|
|
apiRouter.POST("setpAppTableForms", methodBinding.SetpAppTableForm) //提交APp单一表单权限
|
|
}
|
|
}
|
|
|