feat(file-management): 添加文件管理功能并支持环境配置

- 在 application.yml 和环境特定的配置文件中添加文件存储目录路径配置
- 新增 Stage 环境配置文件和相关设置
- 修改 WmsFileManagementController 以使用配置文件中的目录路径
- 优化文件管理相关 API 的错误处理和路径获取方式
This commit is contained in:
2025-08-04 13:11:14 +08:00
parent b8a0792b5d
commit d1255c0312
6 changed files with 217 additions and 12 deletions

View File

@@ -1,6 +1,12 @@
--- # 临时文件存储位置 避免临时文件被系统清理报错
spring.servlet.multipart.location: /klp/server/temp
--- # WMS文件管理配置
klp:
file:
# 生产环境文件存储目录
directory-path: /home/ubuntu/oa/folder
--- # 监控中心配置
spring.boot.admin.client:
# 增加客户端开关