2026-04-27 17:22:56 +08:00
|
|
|
|
app:
|
|
|
|
|
|
name: "verification-platform"
|
|
|
|
|
|
env: "development"
|
|
|
|
|
|
port: "8080"
|
|
|
|
|
|
jwt_secret: "your-secret-key-change-in-production"
|
|
|
|
|
|
jwt_expire_hours: "24"
|
2026-11-24 08:42:21 +08:00
|
|
|
|
# 加壳时写进壳 cfg 的站点根地址;留空则按请求头推断(反代需要传 X-Forwarded-Host)
|
|
|
|
|
|
public_url: ""
|
2026-04-27 17:22:56 +08:00
|
|
|
|
|
|
|
|
|
|
database:
|
|
|
|
|
|
host: "localhost"
|
|
|
|
|
|
port: "3306"
|
|
|
|
|
|
name: "verification_platform"
|
|
|
|
|
|
username: "root"
|
|
|
|
|
|
password: "root123456"
|
|
|
|
|
|
charset: "utf8mb4"
|
|
|
|
|
|
max_idle_conns: "10"
|
|
|
|
|
|
max_open_conns: "100"
|
|
|
|
|
|
|
|
|
|
|
|
redis:
|
|
|
|
|
|
host: "localhost"
|
|
|
|
|
|
port: "6379"
|
|
|
|
|
|
password: ""
|
|
|
|
|
|
db: "0"
|
|
|
|
|
|
|
|
|
|
|
|
log:
|
|
|
|
|
|
level: "info"
|
|
|
|
|
|
format: "json"
|