Documentation ¶
Index ¶
- func AddFsResourceBatch(orgId, userId, projectId, issueId, folderId int64, ...) ([]int64, errs.SystemErrorInfo)
- func AddResourceRelations(orgId, userId, projectId, issueId int64, resourceIds []int64, sourceType int, ...) errs.SystemErrorInfo
- func CacheResourceSize(orgId int64) (int64, errs.SystemErrorInfo)
- func CompleteDeleteFolder(orgId, userId int64, projectId, folderId int64, recycleId int64) errs.SystemErrorInfo
- func CompleteDeleteResource(orgId, userId int64, resourceIds []int64) errs.SystemErrorInfo
- func CreateFolder(input bo.CreateFolderBo) (*vo.Void, errs.SystemErrorInfo)
- func CreateResource(createResourceBo bo.CreateResourceBo, tx ...sqlbuilder.Tx) (int64, errs.SystemErrorInfo)
- func CreateResourceRelation(orgId, userId int64, projectId int64, issueId int64, resourceIds []int64) ([]int64, errs.SystemErrorInfo)
- func DeleteFolder(input bo.DeleteFolderBo) (*resourcevo.DeleteFolderData, errs.SystemErrorInfo)
- func DeleteResource(deleteBo bo.DeleteResourceBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
- func DeleteResourceRelation(orgId, userId, projectId int64, issueIds []int64, sourceTypes []int, ...) errs.SystemErrorInfo
- func DingDocumentList(orgId int64, userId int64, page int, size int) (*resourcevo.DingDocumentResp, errs.SystemErrorInfo)
- func DingFileList(req resourcevo.DingFileListReq) (*resourcevo.DingFileListResp, errs.SystemErrorInfo)
- func DingFileListById(req resourcevo.DingSpaceFileReqVo) ([]*resourcevo.DingFileListData, errs.SystemErrorInfo)
- func DingSpaceList(req resourcevo.DingSpaceReqVo) ([]*resourcevo.SpaceInfo, errs.SystemErrorInfo)
- func FsDocumentList(orgId int64, userId int64, page int, size int, searchKey string) (*vo.FsDocumentListResp, errs.SystemErrorInfo)
- func GetFolder(input bo.GetFolderBo) (*vo.FolderList, errs.SystemErrorInfo)
- func GetFolderInfoBasic(orgId int64, folderIds []int64) ([]vo.Folder, errs.SystemErrorInfo)
- func GetIdByPath(orgId int64, resourcePath string, resourceType int) (int64, errs.SystemErrorInfo)
- func GetIssueIdsByResource(orgId, projectId int64, resourceIds []int64) ([]resourcevo.GetIssueIdsByResourceIdsResp, errs.SystemErrorInfo)
- func GetOssPostPolicy(req resourcevo.GetOssPostPolicyReqVo) (*vo.OssPostPolicyResp, errs.SystemErrorInfo)
- func GetOssSignURL(req resourcevo.OssApplySignURLReqVo) (*vo.OssApplySignURLResp, errs.SystemErrorInfo)
- func GetResource(input bo.GetResourceBo) (*vo.ResourceList, errs.SystemErrorInfo)
- func GetResourceById(resourceIds []int64) ([]bo.ResourceBo, errs.SystemErrorInfo)
- func GetResourceInfo(input bo.GetResourceInfoBo) (*vo.Resource, errs.SystemErrorInfo)
- func GetResourceRelationList(orgId, userId, projectId int64, versionId, isDelete int, sourceType []int32, ...) ([]resourcevo.ResourceRelationVo, errs.SystemErrorInfo)
- func GetResourceRelationsByProjectId(orgId, userId, projectId int64, sourceTypes []int32) ([]resourcevo.ResourceRelationVo, errs.SystemErrorInfo)
- func RecoverFolder(orgId, userId, projectId, folderId int64, recycleId int64) (*bo.FolderBo, errs.SystemErrorInfo)
- func RecoverResource(orgId, appId, userId, projectId, relationId int64, recycleVersionId int64, ...) (*bo.ResourceBo, errs.SystemErrorInfo)
- func UpdateAttachmentRelation(orgId, userId, projectId int64, issueIds, resourceIds []int64, ...) errs.SystemErrorInfo
- func UpdateFolder(input bo.UpdateFolderBo) (*resourcevo.UpdateFolderData, errs.SystemErrorInfo)
- func UpdateResourceFolder(input bo.UpdateResourceFolderBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
- func UpdateResourceInfo(input bo.UpdateResourceInfoBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
- func UpdateResourceRelationProjectId(orgId, userId, projectId int64, issueIds []int64) errs.SystemErrorInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFsResourceBatch ¶
func AddFsResourceBatch(orgId, userId, projectId, issueId, folderId int64, data []*vo.AddIssueAttachmentFsData) ([]int64, errs.SystemErrorInfo)
添加飞书云文档兼容 在文件管理模块添加、附件字段添加
func AddResourceRelations ¶
func CacheResourceSize ¶
func CacheResourceSize(orgId int64) (int64, errs.SystemErrorInfo)
func CompleteDeleteFolder ¶
func CompleteDeleteFolder(orgId, userId int64, projectId, folderId int64, recycleId int64) errs.SystemErrorInfo
func CompleteDeleteResource ¶
func CompleteDeleteResource(orgId, userId int64, resourceIds []int64) errs.SystemErrorInfo
func CreateFolder ¶
func CreateFolder(input bo.CreateFolderBo) (*vo.Void, errs.SystemErrorInfo)
func CreateResource ¶
func CreateResource(createResourceBo bo.CreateResourceBo, tx ...sqlbuilder.Tx) (int64, errs.SystemErrorInfo)
func CreateResourceRelation ¶
func DeleteFolder ¶
func DeleteFolder(input bo.DeleteFolderBo) (*resourcevo.DeleteFolderData, errs.SystemErrorInfo)
func DeleteResource ¶
func DeleteResource(deleteBo bo.DeleteResourceBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
目前项目 文件管理中删除文件会使用到
func DeleteResourceRelation ¶
func DingDocumentList ¶
func DingDocumentList(orgId int64, userId int64, page int, size int) (*resourcevo.DingDocumentResp, errs.SystemErrorInfo)
获取钉钉 最近文档列表信息
func DingFileList ¶
func DingFileList(req resourcevo.DingFileListReq) (*resourcevo.DingFileListResp, errs.SystemErrorInfo)
获取钉钉 云盘文件列表(通过云盘空间名称和类型获取)
func DingFileListById ¶
func DingFileListById(req resourcevo.DingSpaceFileReqVo) ([]*resourcevo.DingFileListData, errs.SystemErrorInfo)
DingFileListById 只是通过spaceId和dirId获取层级列表信息
func DingSpaceList ¶
func DingSpaceList(req resourcevo.DingSpaceReqVo) ([]*resourcevo.SpaceInfo, errs.SystemErrorInfo)
获取钉钉空间列表信息
func FsDocumentList ¶
func FsDocumentList(orgId int64, userId int64, page int, size int, searchKey string) (*vo.FsDocumentListResp, errs.SystemErrorInfo)
func GetFolder ¶
func GetFolder(input bo.GetFolderBo) (*vo.FolderList, errs.SystemErrorInfo)
func GetFolderInfoBasic ¶
func GetIdByPath ¶
func GetIssueIdsByResource ¶
func GetIssueIdsByResource(orgId, projectId int64, resourceIds []int64) ([]resourcevo.GetIssueIdsByResourceIdsResp, errs.SystemErrorInfo)
func GetOssPostPolicy ¶
func GetOssPostPolicy(req resourcevo.GetOssPostPolicyReqVo) (*vo.OssPostPolicyResp, errs.SystemErrorInfo)
func GetOssSignURL ¶
func GetOssSignURL(req resourcevo.OssApplySignURLReqVo) (*vo.OssApplySignURLResp, errs.SystemErrorInfo)
func GetResource ¶
func GetResource(input bo.GetResourceBo) (*vo.ResourceList, errs.SystemErrorInfo)
func GetResourceById ¶
func GetResourceById(resourceIds []int64) ([]bo.ResourceBo, errs.SystemErrorInfo)
获取资源信息
func GetResourceInfo ¶
func GetResourceInfo(input bo.GetResourceInfoBo) (*vo.Resource, errs.SystemErrorInfo)
func GetResourceRelationList ¶
func GetResourceRelationList(orgId, userId, projectId int64, versionId, isDelete int, sourceType []int32, resourceIds []int64, isNeedResourceType bool) ([]resourcevo.ResourceRelationVo, errs.SystemErrorInfo)
func GetResourceRelationsByProjectId ¶
func GetResourceRelationsByProjectId(orgId, userId, projectId int64, sourceTypes []int32) ([]resourcevo.ResourceRelationVo, errs.SystemErrorInfo)
func RecoverFolder ¶
func RecoverResource ¶
func RecoverResource(orgId, appId, userId, projectId, relationId int64, recycleVersionId int64, issueIds []int64, sourceChannel string) (*bo.ResourceBo, errs.SystemErrorInfo)
func UpdateAttachmentRelation ¶
func UpdateAttachmentRelation(orgId, userId, projectId int64, issueIds, resourceIds []int64, recycleVersionId int64, columnId string, isDeleteResource bool) errs.SystemErrorInfo
资源关联关系处理,存入回收站的versionId
func UpdateFolder ¶
func UpdateFolder(input bo.UpdateFolderBo) (*resourcevo.UpdateFolderData, errs.SystemErrorInfo)
func UpdateResourceFolder ¶
func UpdateResourceFolder(input bo.UpdateResourceFolderBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
func UpdateResourceInfo ¶
func UpdateResourceInfo(input bo.UpdateResourceInfoBo) (*resourcevo.UpdateResourceData, errs.SystemErrorInfo)
func UpdateResourceRelationProjectId ¶
func UpdateResourceRelationProjectId(orgId, userId, projectId int64, issueIds []int64) errs.SystemErrorInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.