通联宝回调测试

This commit is contained in:
苏尹岚
2020-03-02 11:07:52 +08:00
parent d86659bc5c
commit f357b86104

View File

@@ -1,6 +1,7 @@
package tonglianpayapi
import (
"fmt"
"io/ioutil"
"net/http"
@@ -47,6 +48,7 @@ func (a *API) GetCallbackMsg(request *http.Request) (call *CallBackResult, err e
if err != nil {
return nil, err
}
fmt.Println("test1", string(data))
utils.UnmarshalUseNumber(data, &call)
return call, err
}