diff --git a/server/gamesapi/app/app.go b/server/gamesapi/app/app.go index 831f44ee..492d62e5 100644 --- a/server/gamesapi/app/app.go +++ b/server/gamesapi/app/app.go @@ -52,5 +52,5 @@ func (this *app) registerDataSources() { } func (this *app) HasTask() bool { - return false //GetMailMgr().HasTask() + return false } diff --git a/server/gamesapi/service/sapi_forward.go b/server/gamesapi/service/sapi_forward.go index a62c2aff..c248cdb2 100644 --- a/server/gamesapi/service/sapi_forward.go +++ b/server/gamesapi/service/sapi_forward.go @@ -51,6 +51,7 @@ func (this *sApiForward) init() { p.userHash = &map[string]*SApiForwardLock{} this.userCache[i] = p } + this.LoadDownStreams() } func (this *sApiForward) unInit() { @@ -184,6 +185,10 @@ func (this *sApiForward) outputMonitorLog() { } } +func (this *sApiForward) LoadDownStreams() error { + return nil +} + func (this *sApiForward) GetDownStreamHost() (string, string) { downStreams := this.downStreams if len(downStreams) <= 0 {