diff --git a/server/analyseapi/gameconf.go b/server/analyseapi/gameconf.go index e08da22..68acf15 100644 --- a/server/analyseapi/gameconf.go +++ b/server/analyseapi/gameconf.go @@ -42,15 +42,15 @@ func (this *GameConf) IsPass(remoteAddr string, launchInfo string, responseStr* atomic.AddInt64(&this.totalDataBlockTimes, 1) return false } - if !this.InSceneWhiteList(launchObj) { - atomic.AddInt64(&this.sceneWhiteListBlockTimes, 1) - return false - } if G.RiskMgr.IsSafeZone(remoteAddr, responseStr) { atomic.AddInt64(&this.totalSafeZonePassTimes, 1) atomic.AddInt64(&this.safeZonePassTimes, 1) return true } else { + if !this.InSceneWhiteList(launchObj) { + atomic.AddInt64(&this.sceneWhiteListBlockTimes, 1) + return false + } if this.InLaunchWhiteList(launchObj) { atomic.AddInt64(&this.totalLaunchWhiteListPassTimes, 1) atomic.AddInt64(&this.launchWhiteListPassTimes, 1)