Commit 839f74c3 by 蒋勇

d

parent cafaefdc
......@@ -37,11 +37,11 @@ class OSSClient{
}
}
module.exports=OSSClient;
// var oss=new OSSClient();
// var key="GT.xlsx"
// oss.upfile(key,"./GT.xlsx").then(function(result){
// console.log(result);
// });
var oss=new OSSClient();
var key="tmpl2.zip"
oss.upfile(key,"./tmpl2.zip").then(function(result){
console.log(result);
});
// oss.downfile(key).then(function(result){
// console.log(result);
// });
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