From d6a49ae26c8723d737e36d1ee544b2edafdae501 Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期日, 26 五月 2024 18:51:15 +0800 Subject: [PATCH] 添加布控模块,合并person_status和snapshot_count_summary数据库等 --- config/config.go | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index f6ab35f..29c6c33 100644 --- a/config/config.go +++ b/config/config.go @@ -39,8 +39,11 @@ } type api struct { - Host string `mapstructure: "host"` - Port string `mapstructure: "port"` + Host string `mapstructure: "host"` + Port string `mapstructure: "port"` + CsTimes int `mapstructure:"csTimes"` + CsHours int `mapstructure:"csHours"` + AInterval int `mapstructure:"aInterval"` } var LogConf = &LogConfig{} -- Gitblit v1.8.0