1
This commit is contained in:
@@ -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:
|
||||
//课程视频打点
|
||||
|
||||
Reference in New Issue
Block a user