feat:自动构建

This commit is contained in:
wood911010 committed 2025-08-09 01:34:49 +08:00
1 parent 183f5e7896
commit 6bcd8f4d09
14 files changed
+752 -112

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
server:
host: "0.0.0.0"
port: 18888
mode: "release"
database:
driver: "mysql"
host: "mysql"
port: 3306
username: "license_user"
password: "license@123"
database: "license_manager"
charset: "utf8mb4"
parse_time: true
loc: "Local"
max_idle_conns: 50
max_open_conns: 300
conn_max_lifetime: 3600
auto_migrate: true
auth:
jwt:
secret: "please-change-in-prod"
expire_hours: 1
refresh_threshold_minutes: 30
admin:
username: "admin"
password: "changeMe!"
security:
max_login_attempts: 5
lockout_duration_minutes: 15
log:
level: "info"
format: "json"
i18n:
enable: true
default_lang: "zh-CN"
config_path: "../configs/i18n/errors"
support_langs: ["zh-CN", "en-US", "ja-JP"]