This commit is contained in:
ChuXun
2026-01-04 17:58:44 +08:00
parent cf8f4c5c3a
commit ec3b5157fe
180 changed files with 4677 additions and 18032 deletions

View File

@@ -693,16 +693,7 @@ RichtextAttachmentClickUtils.clickEvent = function(attachment, operationType, is
case AttachmentType.localFolder:
// 本地文件夹
var att_folder = attachment.att_localFolder;
var cloudArray = new Array();
if (att_folder.resids && att_folder.resids.length > 0) {
$.each(att_folder.resids, function (idx, val){
cloudArray.push({'puid':att_folder.puid, 'resid':val});
})
}
open_url = 'https://ypdownload.chaoxing.com/download/downloadFilePackage?_token='
+ RichTextUitl.yunToken + '&puid='+ RichTextUitl.puid
+'&fileArray=' + encodeURIComponent(JSON.stringify(cloudArray))
+ '&downloadFileName=' + encodeURIComponent(att_folder.name);
YunFileUtil.downloadLocalFolder(att_folder.resids, att_folder.puid, att_folder.name)
break;
case AttachmentType.CourseVideo:
//课程视频打点