callback update

This commit is contained in:
wangchuxiao
2022-10-20 12:01:06 +08:00
parent de271d5b76
commit 942afd7fec
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -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()