From 108167430d996287f2c13c6d4ee4695b9fb7e944 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Tue, 7 Nov 2023 11:08:12 +0800 Subject: [PATCH] fix --- server/feishu-sync/internal/logic/webhooklogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/feishu-sync/internal/logic/webhooklogic.go b/server/feishu-sync/internal/logic/webhooklogic.go index 3723b955..13d4fba8 100644 --- a/server/feishu-sync/internal/logic/webhooklogic.go +++ b/server/feishu-sync/internal/logic/webhooklogic.go @@ -118,7 +118,7 @@ func (l *WebhookLogic) VerifyWebhook(header http.Header, bodyBytes []byte, encry } hashKey := h.Sum(nil) if string(hashKey) != header.Get("X-Lark-Signature") { - logx.Error("无效的消息", string(hashKey), ":-----:", header.Get("X-Lark-Signature")) + logx.Error("无效的消息", string(b), ":------:", string(hashKey), ":-----:", header.Get("X-Lark-Signature")) return false } return true