滴滴活动ID,见:https://doc.21ds.cn/detail?doc=4685763267728060/5001421664043277
订单接口:https://www.ecapi.cn/index/index/openapi/id/336.shtml?ptype=17
参数 | 类型 | 请求参数参考值 | 是否必须 | 说明 |
apkey | String | xxxxxxx | 是 | 用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点我获取)(*必要) |
source_id | String | 2 | 是 | 自定义ID |
activity_id | String | 207811824611 | 是 | 活动ID |
返回参数 | 类型 | 参数说明 | 扩展说明 |
data | Json | 返回数据 | |
├ url | String | 推广链接 | |
├ mini_qrcode | String | 推广海报 | |
├ wx_app | Json | 微信小程序信息 | |
├ ├ appid | String | 小程序appId | |
├ ├ wx_id | String | 小程序原始id | |
├ ├ page_url | String | 小程序路径 |
{
"code": 200,
"data": {
"url": "https://v.didi.cn/65kjXK2?source_id=1eus1",
"wx_app": {
"appid": "wxaf35009675aa0b2a",
"wx_id": "gh_7a5c4141778f",
"page_url": "/pages/index/index?scene=m6vd7Y2&source_id=1eus1"
},
"mini_qrcode": "https://ut-static.udache.com/t-painter/toggle/painter/base/17183432441f29d07dc5f04badabc32f1e3631496e.png",
"alipay_app": {
"page_url": "/pages/index/index?scene=n63E37k&source_id=1eus1",
"appid": "2019062865745088"
}
},
"msg": "success"
}
code/http_status | 说明 |
200 | 数据获取成功 |
-1 | 数据获取失败 |
401 | IP没有添加白名单 |
429 | 访问次数超限 |
403 | 关键参数丢失 |
405 | 请求方式不对 |