|
@@ -8,7 +8,7 @@ import ( |
|
|
|
|
|
|
|
|
// https://open.pinduoduo.com/application/document/api?id=pdd.ddk.oauth.cashgift.create |
|
|
// https://open.pinduoduo.com/application/document/api?id=pdd.ddk.oauth.cashgift.create |
|
|
func CashgiftUrl(keyArr map[string]string, param map[string]interface{}) map[string]string { |
|
|
func CashgiftUrl(keyArr map[string]string, param map[string]interface{}) map[string]string { |
|
|
send, _ := Send(keyArr, "pdd.ddk.oauth.goods.prom.url.generate", param) |
|
|
|
|
|
|
|
|
send, _ := Send(keyArr, "pdd.ddk.oauth.cashgift.create", param) |
|
|
tmp := map[string]string{ |
|
|
tmp := map[string]string{ |
|
|
"cashgift_id": gjson.Get(send, "create_cashgift_response.cash_gift_id").String(), |
|
|
"cashgift_id": gjson.Get(send, "create_cashgift_response.cash_gift_id").String(), |
|
|
} |
|
|
} |
|
|