This commit is contained in:
laodaming 2023-11-07 13:11:41 +08:00
parent 83c92deda4
commit 2b52fb23a2

View File

@ -71,7 +71,7 @@ func (l *WebhookLogic) Webhook(w http.ResponseWriter, r *http.Request) {
} }
var encryptMsg EncryptWebhookMsg var encryptMsg EncryptWebhookMsg
if err = json.Unmarshal(bodyBytes, &encryptMsg); err != nil { if err = json.Unmarshal(bodyBytes, &encryptMsg); err != nil {
logx.Error("反序列化body失败", err) logx.Error("反序列化body失败", err, "body数据:", string(bodyBytes))
return return
} }
if encryptMsg.Encrypt == "" { if encryptMsg.Encrypt == "" {