修改bug
This commit is contained in:
parent
a2de2e84c4
commit
296c3f1b48
@ -89,7 +89,7 @@ type LogConfig struct {
|
|||||||
|
|
||||||
func (this *Config) GetCkQueryLimit() int {
|
func (this *Config) GetCkQueryLimit() int {
|
||||||
if this.Manager.CkQueryLimit == 0 {
|
if this.Manager.CkQueryLimit == 0 {
|
||||||
return 5
|
return 10
|
||||||
}
|
}
|
||||||
return this.Manager.CkQueryLimit
|
return this.Manager.CkQueryLimit
|
||||||
}
|
}
|
||||||
|
@ -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{}.UserEventDetailList)
|
||||||
c.MountApi(api_config.MountApiBasePramas{Remark: "查询用户访问过的事件统计", AbsolutePath: AbsolutePath}, appG.(*fiber.Group), BehaviorAnalysisController{}.UserEventCountList)
|
c.MountApi(api_config.MountApiBasePramas{Remark: "查询用户访问过的事件统计", AbsolutePath: AbsolutePath}, appG.(*fiber.Group), BehaviorAnalysisController{}.UserEventCountList)
|
||||||
|
|
||||||
f := appG.
|
/*f := appG.
|
||||||
Use(limiter.New(
|
Use(limiter.New(
|
||||||
limiter.Config{
|
limiter.Config{
|
||||||
Max: 1,
|
Max: 2,
|
||||||
Expiration: 2 * time.Second,
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,6 @@
|
|||||||
"vue-echarts": "^6.0.0-rc.4",
|
"vue-echarts": "^6.0.0-rc.4",
|
||||||
"vue-good-table": "^2.21.11",
|
"vue-good-table": "^2.21.11",
|
||||||
"vue-infinite-scroll": "^2.0.2",
|
"vue-infinite-scroll": "^2.0.2",
|
||||||
"vue-infinite-scroller": "^1.0.0",
|
|
||||||
"vue-introjs": "^1.3.2",
|
"vue-introjs": "^1.3.2",
|
||||||
"vue-json-excel": "^0.3.0",
|
"vue-json-excel": "^0.3.0",
|
||||||
"vue-router": "3.0.2",
|
"vue-router": "3.0.2",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user