sdk: add getMultiPreviewURL() function
This commit is contained in:
parent
14456e6539
commit
08321818ff
@ -67,6 +67,9 @@ var contented = (function() {
|
||||
"getPreviewURL": function(id) {
|
||||
return baseURL + "p/" + encodeURIComponent(id);
|
||||
},
|
||||
"getMultiPreviewURL": function(items) {
|
||||
return baseURL + "p/" + encodeURIComponent(items.join("-"));
|
||||
},
|
||||
"getDownloadURL": function(id) {
|
||||
return baseURL + "get/" + encodeURIComponent(id);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user