这是我创建优惠码返回的数据 提示创建成功了
{
"response": {
"promocode": {
"group_id": "2509849",
"range_type": "ALL",
"code_type": "GENERAL",
"code": "123456",
"title": "优惠码",
"value": "0.10",
"quota": 1,
"is_at_least": 0,
"at_least": "0.00",
"total": 1,
"stock": 1,
"start_at": "2018-05-24 15:03:31",
"end_at": "2018-05-27 14:09:31",
"expire_notice": 0,
"description": "优惠码",
"is_forbid_preference": 0,
"is_sync_weixin": 0,
"status": 0,
"is_expired": 0,
"is_ongoing": 0,
"is_share": 1,
"fetch_url": "https://h5.youzan.com/v2/showcase/promocode/fetch?alias=*******",
"mark_tags": [],
"specify_items": [],
"created": "2018-05-24 15:01:27",
"weixin_color": "",
"weixin_color_rgb": "",
"weixin_title": "",
"weixin_sub_title": "",
"service_phone": ""
}
}
}
然后 通过 youzan.ump.promocode.detail.get 这个接口获取优惠码详情
传参是优惠码id (groupId)
返回50000 找不到优惠码
但是我通过那个url地址 是可以看到有优惠码的
请帮忙看下????
|
|
用手机打开
收藏
赞 0
···
回复
|
|
|
|