|
|
|
@ -365,6 +365,7 @@ function aliShare(share_id, folder_id, share_pwd) { |
|
|
|
|
let postdata = { "share_id": share_id, "parent_file_id": folder_id || "root", "limit": 200, "image_thumbnail_process": "image/resize,w_256/format,jpeg", "image_url_process": "image/resize,w_1920/format,jpeg/interlace,1", "video_thumbnail_process": "video/snapshot,t_1000,f_jpg,ar_auto,w_256", "order_by": orderskey.split('#')[0], "order_direction": orderskey.split('#')[1] }; |
|
|
|
|
headers['x-share-token'] = sharetoken; |
|
|
|
|
getbyshare = JSON.parse(request('https://api.aliyundrive.com/adrive/v2/file/list_by_share', { headers: headers, body: postdata, method: 'POST' })); |
|
|
|
|
log(getbyshare); |
|
|
|
|
if(errorCode[getbyshare.code]){ |
|
|
|
|
d.push({ |
|
|
|
|
title: errorCode[getbyshare.code], |
|
|
|
|