Commit 940981bc by 张云飞

zyf

parent 1309f645
......@@ -18,6 +18,15 @@ class OSSClient{
});
return result;
}
async downfile1(key,destfile){
var me=this;
var destfile=destfile?destfile:key
var result=await co(function* () {
var result = yield me.client.get(key, destfile);
return result;
});
return result;
}
async upfile(key,filepath){
var me=this;
var result=await co(function* () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment