From b0f374409775bd30ed8f0dc8d47d015d3edc0abb Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期二, 03 九月 2024 19:05:52 +0800
Subject: [PATCH] 1、修改查询策略 2、修改地址统计策略
---
config/config.go | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/config/config.go b/config/config.go
index 122e4e3..f29e1cd 100644
--- a/config/config.go
+++ b/config/config.go
@@ -42,11 +42,12 @@
}
type api struct {
- Host string `mapstructure: "host"`
- Port string `mapstructure: "port"`
- CsTimes int `mapstructure:"csTimes"`
- CsHours int `mapstructure:"csHours"`
- AInterval int `mapstructure:"aInterval"`
+ Host string `mapstructure: "host"`
+ Port string `mapstructure: "port"`
+ TimeThreshold int `mapstructure:"timeThreshold"`
+ CsTimes int `mapstructure:"csTimes"`
+ CsHours int `mapstructure:"csHours"`
+ AInterval int `mapstructure:"aInterval"`
}
var LogConf = &LogConfig{}
--
Gitblit v1.8.0