This commit is contained in:
邹宗楠
2026-07-27 13:37:35 +08:00
parent 4ce9b4d1cc
commit 48c5f00a2d
6 changed files with 25 additions and 21 deletions

View File

@@ -3,6 +3,7 @@ package jdapi
import (
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"io/ioutil"
"net/http"
"time"
@@ -71,6 +72,7 @@ func (a *API) MessagePushService(msg *ContextMsg) error {
func ImChatRiskMsg(request *http.Request) (back []byte, url string, err error) {
msgURL := getMsgURLFromRequest(request)
data, err := ioutil.ReadAll(request.Body)
globals.SugarLogger.Debugf("------ImChatRiskMsg:= %s", string(data))
if err != nil {
return nil, "", err
}