Browse Source

京东联盟

master
huangjiajun 7 months ago
parent
commit
4b811ded37
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      jd_union/url.go

+ 12
- 0
jd_union/url.go View File

@@ -0,0 +1,12 @@
package jd_union

import zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils"

func JdUrl(keyArr map[string]string, goodsReq map[string]interface{}) (string, error) {
param := map[string]interface{}{
"promotionCodeReq": goodsReq,
}
paramJson := zhios_third_party_utils.SerializeStr(param)
send, err := SendGet(keyArr, "jd.union.open.promotion.byunionid.get", paramJson, "1.0")
return send, err
}

Loading…
Cancel
Save