提供文件操作类utils内容

This commit is contained in:
2025-12-04 18:45:25 +08:00
parent 3707f519fe
commit d7ba7747ec
10 changed files with 669 additions and 16 deletions

View File

@@ -3,6 +3,9 @@ app:
name: "PigFarmController" # 应用名称
version: "1.0.0" # 应用版本
jwt_secret: "your_jwt_secret_key_here" # JWT 签名密钥,请务必修改为强密码
# 全局临时文件目录用于存放上传、OTA等临时文件
# 在容器化部署时,建议将此路径映射到持久化卷
temp_path: "./tmp"
# 服务器配置
server:

View File

@@ -4,6 +4,9 @@ app:
version: "1.0.0"
# JWT 密钥,用于签发和验证 token。请在生产环境中替换为更复杂的密钥
jwt_secret: "pig-farm-controller"
# 全局临时文件目录用于存放上传、OTA等临时文件
# 在容器化部署时,建议将此路径映射到持久化卷
temp_path: "./tmp"
# HTTP 服务配置
server: