优化页面
This commit is contained in:
1
unpackage/dist/build/mp-weixin/components/postFile.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/postFile.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=new(require("../common/vendor.js").COS)({SecretId:"AKID4KPIyQgjjnkWJzSnwtfHj281tcBZo28v",SecretKey:"kQvMjuscBWgfSCqeHiGfx3vc7PUP7ctx"});exports.uploadFile=function(t){return new Promise(((n,c)=>{e.uploadFile({Bucket:"vv-1317974657",Region:"ap-shanghai",Key:"headerIcon/"+t.name,FilePath:t.path,FileSize:"",SliceSize:2097152,Headers:{"x-cos-meta-test":123}},(function(e,t){e?c(e):n(t.Location)}))}))};
|
||||
Reference in New Issue
Block a user