去除oss配置页面console

main
caiyiling 2024-04-23 09:32:55 +08:00
parent 9130cfeb91
commit e8ed49aafb
1 changed files with 0 additions and 1 deletions

View File

@ -70,7 +70,6 @@ async function ossGenerateSTS() {
const bufferStream = new stream.PassThrough()
bufferStream.end(Buffer.from(ex.target.result))
// minioClient.bucketExists('ecgdata'
console.log(Vue.prototype.OSSclientConfig.bucketName, objectName, bufferStream)
minioClient.putObject(Vue.prototype.OSSclientConfig.bucketName, objectName, bufferStream, function(err,etag) {
if (err) {
console.log(err)