ray-note/每日日志/腾讯 COS + Spring Boot 上传下载.md

11 lines
315 B
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

- 需要引入 `cos``SDK`
```xml
<dependency>
<groupId>com.qcloud</groupId>
    <artifactId>cos_api</artifactId>
<version>5.6.155</version>
</dependency>
```
- 需要使用 `api` 的 的 `accessKey``secretKey` ,使用临时密钥失败,不知道是不是没申请对,一直是 `InvalidAccessKey`