https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-sdk-api/storage/uploadFile/server.uploadFile.html
//上传文件到存储
const imageUploadRes= await cloud.uploadFile({
cloudPath: 'Books/' + time + '.jpg', // 存储到云存储的路径和文件名
fileContent: fs.createReadStream(path.join(filePath,time+'.jpg'))
})
报错如下:
uploadFile:fail 12680:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:F:\gitcode\node\deps\openssl\openssl\ssl\record\ssl3_record.c:308: