mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-03 08:16:55 +08:00
log
This commit is contained in:
parent
a9b60b8052
commit
d33e15a2bb
@ -7,6 +7,7 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"Open_IM/pkg/common/log"
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
@ -64,6 +65,7 @@ func CallBackPostReturn(url, callbackCommand string, input, output interface{},
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
log.Info("post resp content: ", string(b))
|
||||
if err = json.Unmarshal(b, output); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user