修改bug

This commit is contained in:
2022-04-01 17:16:41 +08:00
parent a2de2e84c4
commit 296c3f1b48
3 changed files with 5 additions and 6 deletions

View File

@ -89,7 +89,7 @@ type LogConfig struct {
func (this *Config) GetCkQueryLimit() int {
if this.Manager.CkQueryLimit == 0 {
return 5
return 10
}
return this.Manager.CkQueryLimit
}

View File

@ -36,13 +36,13 @@ func runAnalysis(app *fiber.App) {
c.MountApi(api_config.MountApiBasePramas{Remark: "查询用户访问过的事件详情", AbsolutePath: AbsolutePath}, appG.(*fiber.Group), BehaviorAnalysisController{}.UserEventDetailList)
c.MountApi(api_config.MountApiBasePramas{Remark: "查询用户访问过的事件统计", AbsolutePath: AbsolutePath}, appG.(*fiber.Group), BehaviorAnalysisController{}.UserEventCountList)
f := appG.
/*f := appG.
Use(limiter.New(
limiter.Config{
Max: 1,
Max: 2,
Expiration: 2 * time.Second,
}))
}))*/
c.MountApi(api_config.MountApiBasePramas{Remark: "智能路径分析查询", AbsolutePath: AbsolutePath}, f.(*fiber.Group), BehaviorAnalysisController{}.TraceList)
c.MountApi(api_config.MountApiBasePramas{Remark: "智能路径分析查询", AbsolutePath: AbsolutePath}, appG.(*fiber.Group), BehaviorAnalysisController{}.TraceList)
}
}

View File

@ -81,7 +81,6 @@
"vue-echarts": "^6.0.0-rc.4",
"vue-good-table": "^2.21.11",
"vue-infinite-scroll": "^2.0.2",
"vue-infinite-scroller": "^1.0.0",
"vue-introjs": "^1.3.2",
"vue-json-excel": "^0.3.0",
"vue-router": "3.0.2",