1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user