|
@@ -8,7 +8,6 @@ var Config *config
|
|
|
|
|
|
type config struct {
|
|
type config struct {
|
|
WebPort string `json:"webPort"` //服务端口
|
|
WebPort string `json:"webPort"` //服务端口
|
|
- IsEnable bool `json:"isEnable"` //开关
|
|
|
|
Ahead AheadConfig `json:"ahead"` //超前项目配置
|
|
Ahead AheadConfig `json:"ahead"` //超前项目配置
|
|
Custom CustomConfig `json:"custom"` //定制化报告配置
|
|
Custom CustomConfig `json:"custom"` //定制化报告配置
|
|
TestUid []string `json:"testUid"` //测试用户id
|
|
TestUid []string `json:"testUid"` //测试用户id
|
|
@@ -17,6 +16,7 @@ type config struct {
|
|
}
|
|
}
|
|
|
|
|
|
type AheadConfig struct {
|
|
type AheadConfig struct {
|
|
|
|
+ IsEnable bool `json:"isEnable"` //开关
|
|
Prop float64 `json:"prop"` //新增用户百分比
|
|
Prop float64 `json:"prop"` //新增用户百分比
|
|
DailyTimes int `json:"dailyTimes"` //每日展示次数
|
|
DailyTimes int `json:"dailyTimes"` //每日展示次数
|
|
SaveClickTimes int `json:"saveClickTimes"` //保留用户的点击量
|
|
SaveClickTimes int `json:"saveClickTimes"` //保留用户的点击量
|
|
@@ -25,6 +25,7 @@ type AheadConfig struct {
|
|
}
|
|
}
|
|
|
|
|
|
type CustomConfig struct {
|
|
type CustomConfig struct {
|
|
|
|
+ IsEnable bool `json:"isEnable"` //开关
|
|
Open bool `json:"open"` //是否运行查询
|
|
Open bool `json:"open"` //是否运行查询
|
|
UpdateCron string `json:"updateCron"` //更新周活用户
|
|
UpdateCron string `json:"updateCron"` //更新周活用户
|
|
SearchLimit struct {
|
|
SearchLimit struct {
|