You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/service/jd/union.open.promotion.common...

30 lines
1.1 KiB

3 years ago
package jd
type UnionOpenPromotionCommonGetResult struct {
JdUnionOpenPromotionCommonGetResponce struct {
Code string `json:"code"`
GetResult string `json:"getResult"`
} `json:"jd_union_open_promotion_common_get_responce"`
}
type UnionOpenPromotionCommonGetGetResult struct {
Code int `json:"code"`
Data struct {
ClickURL string `json:"clickURL"`
JCommand string `json:"jCommand"`
} `json:"data"`
Message string `json:"message"`
RequestId string `json:"requestId"`
}
// UnionOpenPromotionCommonGet
// 网站/APP来获取的推广链接功能同宙斯接口的自定义链接转换、 APP领取代码接口通过商品链接、活动链接获取普通推广链接支持传入subunionid参数可用于区分媒体自身的用户ID该参数可在订单查询接口返回需向cps-qxsq@jd.com申请权限。
// https://union.jd.com/openplatform/api/v2?apiName=jd.union.open.promotion.common.get
func (app *App) UnionOpenPromotionCommonGet(notMustParams ...Params) (body []byte, err error) {
// 参数
params := NewParamsWithType("jd.union.open.promotion.common.get", notMustParams...)
// 请求
body, err = app.request(params)
return
}