腾讯云对象存储错误:This XML file does not appear to have any style information associated with it. The docume"/>
腾讯云对象存储错误:This XML file does not appear to have any style information associated with it. The docume
腾讯云上传的图片返回了正确的代码:
GuzzleHttp\Command\Result Object
([ETag] => "1eeec19af2564ccab82ee1622e54a34f"[RequestId] => NWVjZTAzYTlfM2RhZDUzNjRfNTZjY2VfOTNkNmNm[Key] => a1.jpg[Bucket] => hml-1258399702[Location] => hml-1258399702.cos.ap-shenzhen-fsi.myqcloud/a1.jpg
)
当我们访问location的时候打开图片是这样的:
报错:This XML file does not appear to have any style information associated with it. The docume
出现这个问题的原因是该存储桶内的图片是私有访问,需要改权限。进入腾讯云后台
选择其中的一个存储桶,点击设置:-》权限管理-》选择公有读
保存设置后再此访问,访问成功。
更多推荐
腾讯云对象存储错误:This XML file does not appear to have any style information associated
发布评论