mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 03:25:59 +08:00
callback update
This commit is contained in:
@@ -56,7 +56,7 @@ func Post(url string, data interface{}, timeOutSecond int) (content []byte, err
|
||||
return result, nil
|
||||
}
|
||||
|
||||
func PostReturn(url, callbackCommand string, input, output interface{}, timeOut int) error {
|
||||
func CallBackPostReturn(url, callbackCommand string, input, output interface{}, timeOut int) error {
|
||||
v := urlLib.Values{}
|
||||
v.Set("callbackCommand", callbackCommand)
|
||||
url = url + "?" + v.Encode()
|
||||
|
||||
Reference in New Issue
Block a user