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

43 lines
1.1 KiB

package publicmethod
import (
"appPlatform/models/modelssystempermission"
"sync"
)
// 协程设置
var syncSeting = sync.WaitGroup{}
// 协程处理其他权限
type XieChengPowerSys struct {
MenuId []int64 //赋权的菜单
SystemPower []SystemInfoPower `json:"systemPower"`
SysTemList []modelssystempermission.AuthPowerList
AppUUID []string //赋权的菜单
FormTable []AppMyPower
}
type AppMyPower struct {
AppId string `json:"AppId"`
IsPick bool `json:"isPick`
FormTrue []string `json:"formTrue"`
FormPower []AppMyPowerTable `json:"formPower"`
ButPower []string `json:"butPower"`
}
type AppMyPowerTable struct {
AppId string `json:"AppId"`
IsPick bool `json:"isPick`
ListPower []string `json:"listPower"`
TablePower []string `json:"tablePower"`
Scope int `json:"scope"`
ScopeManAry []int `json:"scopeManAry"`
PagePower []string `json:"PagePower"`
}
// 获取行政组织矩阵权限
type OrgAryPower struct {
PowerAry []string
GroupPowerAry []string
}