fix
This commit is contained in:
parent
96d3a9111d
commit
108167430d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user