更新前后端代码

This commit is contained in:
2026-08-23 00:48:10 +08:00
parent 1b5468995f
commit 5c1313e4f6
74 changed files with 9995 additions and 306 deletions
+28
View File
@@ -0,0 +1,28 @@
# FileStorageSystem 配置文件
server:
port: 8100
mode: debug # debug/release
domain: https://file.yunzer.cn # 生产环境域名
database:
driver: sqlite
source: ./storage/data.db
storage:
root: ./storage/files # 文件存储根目录
backups: ./storage/backups # 数据库备份目录
admin:
username: admin
password: admin123 # 首次运行后请修改
email: admin@example.com
role: super_admin # 默认角色
jwt:
secret: please-change-this-secret-key # 生产环境请修改为随机密钥
expire: 24h # Token过期时间
log:
level: info
dir: ./storage/logs
max_days: 7