From acf94b16809ae656f25b5460890e4fc311b7d6dd Mon Sep 17 00:00:00 2001 From: voidxxl7 Date: Mon, 22 Dec 2025 16:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DcorpSecret=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/notifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/notifier.go b/internal/service/notifier.go index cf3593b..7702d38 100644 --- a/internal/service/notifier.go +++ b/internal/service/notifier.go @@ -749,7 +749,7 @@ func (n *Notifier) sendWeComAppByConfig(ctx context.Context, config map[string]i return fmt.Errorf("企业微信应用配置缺少 corpid") } - corpSecret, _ := config["corpSecret"].(string) + corpSecret, ok := config["corpSecret"].(string) if !ok || corpSecret == "" { return fmt.Errorf("企业微信应用配置缺少 corpsecret") }