Browse Source

拼多多联盟

master
huangjiajun 5 months ago
parent
commit
132ea1d5f1
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      pdd_union/api.go

+ 5
- 0
pdd_union/api.go View File

@@ -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
}

Loading…
Cancel
Save