From f7624aeabb816dbe91e552a0cda2a3ca6bb17ba8 Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Wed, 21 Sep 2022 14:51:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=BB=98=E8=AE=A4=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/options.go | 1 + services/comp_gateroute.go | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/options.go b/modules/options.go index ec92a06d6..bd27360bb 100644 --- a/modules/options.go +++ b/modules/options.go @@ -28,6 +28,7 @@ func (this *Options) GetLog() log.ILogger { } func (this *Options) LoadConfig(settings map[string]interface{}) (err error) { + this.Debug = true if settings != nil { err = mapstructure.Decode(settings, this) } diff --git a/services/comp_gateroute.go b/services/comp_gateroute.go index 9ce678b9c..5e1a135c0 100644 --- a/services/comp_gateroute.go +++ b/services/comp_gateroute.go @@ -34,6 +34,7 @@ type CompOptions struct { } func (this *CompOptions) LoadConfig(settings map[string]interface{}) (err error) { + this.Debug = true if settings != nil { err = mapstructure.Decode(settings, this) }