目前有一个需求,就是在自己的APP、服务号以及网站中,动态生成拉新二维码、淘口令和短链接。
可以从淘宝联盟后台得到,使用抓包提取相应的接口,小编还没有去提取,回头试试。
下面是一个手淘联盟生成的淘口令和解开后的结果,
€6KCCbaGwVFP€
解码结果:
Array
(
[content] => 下载手机淘宝客户端,领新人专享10元红包!
[native_url] => tbopen://m.taobao.com/tbopen/index.html?action=ali.open.nav&module=h5&h5Url=https%3A%2F%2Fmos.m.taobao.com%2Factivity_newer%3Fpid%3Dmm_101631896_44238024_1504524276%26from%3Dunionapp%26sight%3D2.4%26un%3D430df746095a00667c7348bd5d2a73c9%26share_crt_v%3D1%26ut_sk%3D1.utdid_21683432_1531572580476.TaoPassword-Outside.lianmeng-app-self%26sp_tk%3D4oKsNktDQ2JhR3dWRlDigqw%3D%26spm%3Da211b4.24859233%26visa%3D13a09278fde22a2e%26disablePopup%3Dtrue%26disableSJ%3D1&appkey=24859211&visa=13a09278fde22a2e
[pic_url] => https://gw.alicdn.com/tfs/TB1KUTDbpOWBuNjy0FiXXXFxVXa-580-327.png
[suc] => true
[thumb_pic_url] => https://gw.alicdn.com/tfs/TB1KUTDbpOWBuNjy0FiXXXFxVXa-580-327.png_170x170.jpg
[title] => 淘口令-页面
[url] => https://mos.m.taobao.com/activity_newer?pid=mm_101631891_44238024_1504524273&from=unionapp&sight=2.4&un=430df746095a00667c7348bd5d2a73c9&share_crt_v=1&ut_sk=1.utdid_21683432_1531572580476.TaoPassword-Outside.lianmeng-app-self&sp_tk=4oKsNktDQ2JhR3dWRlDigqw=&spm=a211b4.24859211&visa=13a09278fde22a2e&disablePopup=true&disableSJ=1
[request_id] => sjq72oux6dmh
)