|
|
|
@ -850,6 +850,7 @@ function yundiskhistory() { |
|
|
|
|
}) |
|
|
|
|
}else if(getMyVar('云盘历史','1')=='2'){ |
|
|
|
|
let opentoken = getOpenToken(authorization); |
|
|
|
|
if(opentoken){ |
|
|
|
|
headers['authorization'] = 'Bearer ' + opentoken; |
|
|
|
|
let recentList = JSON.parse(request('https://openapi.aliyundrive.com/adrive/v1.0/openFile/video/recentList', { headers: headers, body: {"image_thumbnail_width":480,"fields":"*","video_thumbnail_width":480}, method: 'POST' }));
|
|
|
|
|
let items = recentList.items; |
|
|
|
@ -891,6 +892,9 @@ function yundiskhistory() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
|
toast('开放接口opentoken获取失败'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
setResult(d); |
|
|
|
|
} |