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