feat: 七牛云存储支持(本地缓存/备份)

- StorageService 抽象层(store/read/exists)
- QiniuStorageService: 七牛云主存储(@ConditionalOnProperty)
- LocalStorageService: 本地文件存储(默认/@ConditionalOnMissingBean)
- CachedStorageService: 七牛主+本地缓存(写:七牛→本地, 读:本地→七牛)
- 配置: PAR_STORAGE_TYPE=qiniu + QINIU_AK/SK/BUCKET/REGION
- 不配七牛时自动降级到纯本地存储
This commit is contained in:
mediabot-pt
2026-06-29 22:58:32 +08:00
parent 98e040c06b
commit f351d71d18
8 changed files with 271 additions and 61 deletions

View File

@@ -89,5 +89,12 @@
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<!-- 七牛云存储 -->
<dependency>
<groupId>com.qiniu</groupId>
<artifactId>qiniu-java-sdk</artifactId>
<version>7.15.0</version>
</dependency>
</dependencies>
</project>