feat(file): 添加本地存储服务- 新增 LocalFileService 类实现本地文件上传和删除功能

- 在 application-dev.yml 和 application-prod.yml 中添加本地存储配置
This commit is contained in:
Theo
2024-12-10 17:39:05 +08:00
parent f70c778318
commit 3e8c337551
3 changed files with 82 additions and 2 deletions

View File

@@ -122,7 +122,10 @@ oss:
access-key-secret: your-access-key-secret
# 存储桶名称
bucket-name: default
# 本地存储
local:
# 文件存储路径 请注意下mac用户请使用 /Users/your-username/your-path/否则会有权限问题windows用户请使用 D:/your-path/
storage-path: /Users/theo/home/
# 短信配置
sms:
# 阿里云短信