This commit is contained in:
aozhiwei 2024-08-30 16:45:47 +08:00
parent ba1f3f83f0
commit af5d7a34de
2 changed files with 6 additions and 1 deletions

View File

@ -52,5 +52,5 @@ func (this *app) registerDataSources() {
}
func (this *app) HasTask() bool {
return false //GetMailMgr().HasTask()
return false
}

View File

@ -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 {