Documentation ¶
Index ¶
- type AppRoleInfo
- type AppRoleInfoMember
- type AppRoleInfoMemberUser
- type CreateLessCodeAppReq
- type CreateLessCodeAppReqConfig
- type CreateLessCodeAppResp
- type CreateLessCodeAppRespData
- type CreateOrUpdateManageGroupReq
- type CreateOrUpdateManageGroupResp
- type CreateOrUpdateManageGroupRespData
- type FieldAuthOptionInfo
- type GetAppAuthBatchReq
- type GetAppAuthBatchResp
- type GetAppAuthResp
- type GetAppRoleListResp
- type GetDataAuthBatchReq
- type GetDataAuthBatchResp
- type GetLcPermissionAdminGroupDetailResp
- type GetLcPermissionAdminGroupDetailRespData
- type GetLcPermissionAdminGroupDetailRespDataAdminGroup
- type GetLcPermissionGroupTreeReq
- type GetLcPermissionGroupTreeResp
- type GetLcPermissionGroupTreeRespData
- type GetLcPermissionGroupTreeRespDataItem
- type GetOptAuthListResp
- type GetOptAuthListRespData
- type GetPermissionUpdateTimeData
- type GetPermissionUpdateTimeReq
- type GetPermissionUpdateTimeResp
- type GetUserGroupMappingsResp
- type GroupMappings
- type InitAppPermissionReq
- type InitAppPermissionResp
- type InitDefaultManageGroupReq
- type InitDefaultManageGroupResp
- type InitDefaultManageGroupRespData
- type ManageAuthInfoResp
- type ManageAuthInfoRespData
- type OptAuthOptionInfo
- type UpdateLcAppPermissionGroupOpConfigReq
- type UpdateLcAppPermissionGroupOpConfigResp
- type UpdateLcPermissionGroupReq
- type UpdateLcPermissionGroupResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppRoleInfo ¶
type AppRoleInfoMember ¶
type AppRoleInfoMember struct { Depts interface{} `json:"depts"` Roles interface{} `json:"roles"` Users []AppRoleInfoMemberUser `json:"users"` }
type AppRoleInfoMemberUser ¶
type CreateLessCodeAppReq ¶
type CreateLessCodeAppReq struct { AppType *int `json:"appType"` Name *string `json:"name"` OrgId *int64 `json:"orgId"` UserId *int64 `json:"userId"` PkgId int64 `json:"pkgId"` Config string `json:"config"` ExtendsId int64 `json:"extendsId"` ProjectId int64 `json:"projectId"` ParentId int64 `json:"parentId"` Hidden int `json:"hidden"` AuthType int `json:"authType"` Icon string `json:"icon"` ExternalApp int `json:"externalApp"` LinkUrl string `json:"linkUrl"` MirrorViewId int64 `json:"mirrorViewId"` MirrorAppId int64 `json:"mirrorAppId"` AddAllMember bool `json:"addAllMember"` ProjectType int `json:"projectType"` }
type CreateLessCodeAppReqConfig ¶
type CreateLessCodeAppReqConfig struct {
Fields string `json:"fields"`
}
type CreateLessCodeAppResp ¶
type CreateLessCodeAppResp struct { vo.Err Data *CreateLessCodeAppRespData `json:"data"` }
type CreateOrUpdateManageGroupReq ¶
创建或更新管理组请求结构体
type CreateOrUpdateManageGroupResp ¶
type CreateOrUpdateManageGroupResp struct { vo.Err Data *CreateOrUpdateManageGroupRespData `json:"data"` }
创建或更新管理组响应结构体
type FieldAuthOptionInfo ¶
type GetAppAuthBatchReq ¶
type GetAppAuthBatchResp ¶
type GetAppAuthBatchResp struct { vo.Err Data map[int64]appauth.GetAppAuthData `json:"data"` }
type GetAppAuthResp ¶
type GetAppAuthResp struct { vo.Err Data appauth.GetAppAuthData `json:"data"` }
type GetAppRoleListResp ¶
type GetAppRoleListResp struct { vo.Err Data []AppRoleInfo `json:"data"` }
type GetDataAuthBatchReq ¶
type GetDataAuthBatchResp ¶
type GetDataAuthBatchResp struct { vo.Err Data map[int64]appauth.GetAppAuthData `json:"data"` }
type GetLcPermissionAdminGroupDetailResp ¶
type GetLcPermissionAdminGroupDetailResp struct { vo.Err Data *GetLcPermissionAdminGroupDetailRespData `json:"data"` }
type GetLcPermissionAdminGroupDetailRespData ¶
type GetLcPermissionAdminGroupDetailRespData struct {
AdminGroup *GetLcPermissionAdminGroupDetailRespDataAdminGroup `json:"adminGroup"`
}
type GetLcPermissionGroupTreeResp ¶
type GetLcPermissionGroupTreeResp struct { vo.Err Data *GetLcPermissionGroupTreeRespData `json:"data"` }
type GetLcPermissionGroupTreeRespData ¶
type GetLcPermissionGroupTreeRespData struct { SysGroup *GetLcPermissionGroupTreeRespDataItem `json:"sysGroup"` GeneralGroups []*GetLcPermissionGroupTreeRespDataItem `json:"generalGroups"` }
type GetOptAuthListResp ¶
type GetOptAuthListRespData ¶
type GetOptAuthListRespData struct {
OptList []string `json:"optList"`
}
type GetPermissionUpdateTimeData ¶
type GetPermissionUpdateTimeData struct {
UpdateTime int64 `json:"updateTime"`
}
type GetPermissionUpdateTimeReq ¶
type GetPermissionUpdateTimeReq struct {
AppId int64 `json:"appId"`
}
type GetPermissionUpdateTimeResp ¶
type GetPermissionUpdateTimeResp struct { vo.Err Data *GetPermissionUpdateTimeData `json:"data"` }
type GetUserGroupMappingsResp ¶
type GetUserGroupMappingsResp struct { vo.Err Data GroupMappings `json:"data"` }
type GroupMappings ¶
type GroupMappings struct { UserGroupMappings map[string][]AppRoleInfo `json:"userGroupMappings"` DeptGroupMappings map[string][]AppRoleInfo `json:"deptGroupMappings"` RoleGroupMappings map[string][]AppRoleInfo `json:"roleGroupMappings"` }
type InitAppPermissionReq ¶
type InitAppPermissionReq struct { OrgID int64 `json:"orgId"` AppPackageID int64 `json:"appPackageId"` AppID int64 `json:"appId"` AppType int `json:"appType"` OptAuthOptions []OptAuthOptionInfo `json:"optAuthOptions"` FieldAuthOptions []FieldAuthOptionInfo `json:"fieldAuthOptions"` IsExt bool `json:"isExt"` ComponentType string `json:"componentType"` Creatable bool `json:"creatable"` UserID int64 `json:"userId"` Config string `json:"config"` DefaultPermissionGroupType int `json:"defaultPermissionGroupType"` //默认权限组类型(为空则不初始化),1 初始化表单的权限组,2 初始化仪表盘的权限组,3 初始化极星项目的权限组 }
type InitAppPermissionResp ¶
type InitDefaultManageGroupReq ¶
type InitDefaultManageGroupReq struct { OrgID int64 `json:"orgId"` AuthOptions []OptAuthOptionInfo `json:"authOptions"` }
type InitDefaultManageGroupResp ¶
type InitDefaultManageGroupResp struct { vo.Err Data *InitDefaultManageGroupRespData `json:"data"` }
type InitDefaultManageGroupRespData ¶
type InitDefaultManageGroupRespData struct { // 系统管理组id SysGroupID int64 `json:"sysGroupId,string"` }
type ManageAuthInfoResp ¶
type ManageAuthInfoResp struct { vo.Err Data *ManageAuthInfoRespData `json:"data"` }
管理认证信息响应结构体
type ManageAuthInfoRespData ¶
type ManageAuthInfoRespData struct { OrgID int64 `json:"orgId,string"` IsAdmin bool `json:"admin"` // 无码系统过来时,字段是 admin AppPackageIds []string `json:"appPackageIds"` AppIds []string `json:"appIds"` OptAuth []string `json:"optAuth"` DeptIds []string `json:"deptIds"` RoleIds []string `json:"roleIds"` }
type OptAuthOptionInfo ¶
Click to show internal directories.
Click to hide internal directories.