新优化版接口列表

新优化版接口使用了全新的PHP协程框架,性能与并发量较原接口提升30%+。新优化版接口与原接口传入参数一致,但对输出结果进行了优化,与原接口输出结果数据结构略有不同,对接时需注意。

目前已开发完成的新优化版接口如下:(持续更新)

1、淘宝客订单查询API : https://open.21ds.cn/index/index/openapi/id/118.shtml?ptype=1

2、淘宝客高佣转链接口(商品ID): https://open.21ds.cn/index/index/openapi/id/119.shtml?ptype=1

2.1、接口说明:

2.1.1、传入参数:与原接口一致

2.1.2、输出参数:数据格式有轻微变动

原接口输出参数格式:
{"result":{"data":{"category_id":"16","coupon_click_url":"https://uland.taobao.com/coupon/edetail?e=+YFbsTGSAkMGQASttHIRqVeV3ruNQg9dFeXcAo3npODoEnMr9v+wapYf2fzHeQvKPnSJhnMjqoV+U/1S4xSkMr9fwBwwUiql2RImVVBDAwrh1qUyu6uFKnYefz8NXcoYTJnbK5InWzloKXCUZd8BcHFf5RMoZqfAYwOD23XOnRHymNXcL2pzBO10ypsSMilTmwxPrp1qoBI=&traceId=0b15461515570533783351761e7487&union_lens=lensId:0b093c83_0bbd_16a879d0f46_5d49&xId=x3nAXr0GacFNaGFBkPCs1p9zpTf73j5H7uUnJUTDPQyLB26Ud8L1SXFHMZ71z5M6UvGCY2XXAnXKHRZPRJiZ3g",…………}},"request_id":"7tbkmlyhcy12","code":200}

新优化版接口输出参数格式:
{"code":200,"data":{"category_id":21,"coupon_click_url":"https://uland.taobao.com/coupon/edetail?e=0%2BA8JiXeqIg8Clx5mXPEKpjggBW84%2FsCXKlYlCPeDFxafOnRJHvnA235RLwVbs6GQ2lxi6G7l%2Bpsz8svUcR%2BOJQ5wfGz%2Fu%2BNyeOl%2Fg5viFKeaD2hx1IMByZ6Y%2FpkHtT5QS0Flu%2FfbSovkBQlP112cACbVeUhNk1a1bsZQOQ6EH4KPgOmUKpN4QsmEyrTkiGBBIymH4dfP1E%3D&traceId=0b511bde15720278982886033ea42b&union_lens=lensId:0b015dd6_0bde_16e042a19c7_4c49&xId=hQzzxBWLFi4bJeG4mZSmoHX1gUKE1MoBWxeDFyqnpGxn5xy3MjY0RE0z9LPoVuyIaFl19omU6aI9SmgkGIv4jA",…………},"msg":"success"}

变化点为去除了下面删除线的部分:(所有高佣转链接口的数据格式修改方式均一致)
 {"result":{"data":{"category_id":"16","coupon_click_url":"https://uland.taobao.com/coupon/edetail?e=+YFbsTGSAkMGQASttHIRqVeV3ruNQg9dFeXcAo3npODoEnMr9v+wapYf2fzHeQvKPnSJhnMjqoV+U/1S4xSkMr9fwBwwUiql2RImVVBDAwrh1qUyu6uFKnYefz8NXcoYTJnbK5InWzloKXCUZd8BcHFf5RMoZqfAYwOD23XOnRHymNXcL2pzBO10ypsSMilTmwxPrp1qoBI=&traceId=0b15461515570533783351761e7487&union_lens=lensId:0b093c83_0bbd_16a879d0f46_5d49&xId=x3nAXr0GacFNaGFBkPCs1p9zpTf73j5H7uUnJUTDPQyLB26Ud8L1SXFHMZ71z5M6UvGCY2XXAnXKHRZPRJiZ3g",…………}},"request_id":"7tbkmlyhcy12","code":200} 

3、双十一预售商品: http://dev.21ds.cn/article/397.html

4、万能转链接口: https://open.21ds.cn/index/index/openapi/id/123.shtml?ptype=1

5、淘宝客高佣转链接口(淘口令): https://open.21ds.cn/index/index/openapi/id/122.shtml?ptype=1

6、淘口令生成接口: https://open.21ds.cn/index/index/openapi/id/127.shtml?ptype=1

6.1、传入及返回参数可参考接口列表说明

7、淘客短链接生成接口: https://open.21ds.cn/index/index/openapi/id/126.shtml?ptype=1

7.1、传入及返回参数可参考接口说明

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注