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 }