|
@@ -12,6 +12,7 @@ package h5
|
|
|
|
|
|
import (
|
|
|
"context"
|
|
|
+ "encoding/json"
|
|
|
"fmt"
|
|
|
nethttp "net/http"
|
|
|
neturl "net/url"
|
|
@@ -84,8 +85,9 @@ func (a *H5ApiService) Prepay(ctx context.Context, req PrepayRequest) (resp *Pre
|
|
|
|
|
|
// Setup Body Params
|
|
|
localVarPostBody = req
|
|
|
+ jsonData,_:=json.Marshal(req)
|
|
|
|
|
|
- fmt.Println(req.String())
|
|
|
+ fmt.Println(string(jsonData))
|
|
|
|
|
|
// Determine the Content-Type Header
|
|
|
localVarHTTPContentTypes := []string{"application/json"}
|