|
|
@@ -31,5 +31,10 @@ func Send(keyArr map[string]string, method string, param map[string]interface{}) |
|
|
|
|
|
|
|
url := "http://gw-api.pinduoduo.com/api/router" |
|
|
|
post, err := zhios_third_party_utils.CurlPost(url, param, nil) |
|
|
|
zhios_third_party_utils.FilePutContents("pdd", zhios_third_party_utils.SerializeStr(param)) |
|
|
|
zhios_third_party_utils.FilePutContents("pdd", string(post)) |
|
|
|
if err != nil { |
|
|
|
zhios_third_party_utils.FilePutContents("pdd", err.Error()) |
|
|
|
} |
|
|
|
return string(post), err |
|
|
|
} |