健康检查增加是否记录访问日志选项

This commit is contained in:
刘祥超
2022-05-19 17:13:20 +08:00
parent a9d31a2e35
commit 49b8fd6e97

View File

@@ -21,8 +21,13 @@ func (this *HTTPRequest) doHealthCheck(key string, isHealthCheck *bool) (stop bo
}
*isHealthCheck = true
if !data.GetBool("accessLogIsOn") {
this.disableLog = true
}
if data.GetBool("onlyBasicRequest") {
return true
}
return
}