版本封存

This commit is contained in:
zeaslity
2025-12-06 11:26:05 +08:00
parent 13949e1ba8
commit c0ae5e30c4
57 changed files with 2443 additions and 1428 deletions

View File

@@ -1,10 +1,16 @@
server:
port: "8080"
port: "8080" # 服务器端口
debug: true
auth:
secret: "your-secret-key-for-totp"
auth_file: "./data/auth.json"
time_offset_allowed: 3600 # 允许的时间偏移,单位秒
tier_one_auth:
tier_one_secret: "NK537TIWSUOFIS7SYCUJ6A7FPOGFVM3UH67TJRX3IYQAHKZXK2X7SBAA6JOXZVSV3U6K5YZUX7Q6TWOPK6YCRU6MIML33ZJFBN55I2Q" # TOTP密钥
time_offset_allowed: 30 # 允许的时间偏移(秒)
watchdog_center:
url: "http://center-service:8080/api"
url: "https://watchdog-center.example.com" # 一级授权中心地址
project:
project_namespace: "uavcloud-devflight" # 项目命名空间
tier_two_auth:
tier_two_secret: "your_tier_two_secret_here" # 二级授权密钥