feat: 添加API地址和加密密钥配置,重构API服务启动逻辑

This commit is contained in:
tongque
2025-04-22 19:03:42 +08:00
parent f921d81a76
commit 16e40fe7ed
5 changed files with 68 additions and 31 deletions
+2
View File
@@ -957,6 +957,8 @@ var (
ShowScanPlan bool // 是否显示扫描计划详情
SlowLogOutput bool // 是否启用慢速日志输出
Language string // 界面语言设置
ApiAddr string // API地址
SecretKey string // 加密密钥
)
var (