📌  相关文章
📜  从 s3 bucket angular 获取图像 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:22.328000             🧑  作者: Mango

代码示例1
$scope.s3Url = 'https://s3-.amazonaws.com/myBucket/'; var bucket = new AWS.S3({params: {Bucket: 'myBucket'}}); bucket.listObjects(function (err, data) { if (err) { console.log(err); } else { console.log(data); $scope.allImageData = data.Contents; } });