pull/351/head
skiffer-git 2 years ago
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…
Cancel
Save