一个可以自动领淘宝、天猫或京东优惠券的 iOS 快捷指令
快捷指令获取地址:
https://www.icloud.com/shortcuts/08b218fe45524f15a1d5351ab56be161
如果提示不能添加“不受信任的快捷指令”,请前往 iOS 设置---->快捷指令,开启“允许不受信任的快捷指令”再添加。
安装完成后,长按该快捷指令————>分享——————>添加到主屏幕
使用方法:
1,在淘宝、天猫、京东 App 上点击分享---->复制链接。 2,回到主屏幕,点击一下“优惠券”快捷指令,无需任何操作就可以帮你找到优惠券并跳转到领券页,如果没有优惠券也会跳到商品详情页。
如果直接使用上面的快捷指令,你下单之后我可能会得到你购买商品的一丁点儿佣金,当然如果你有淘客账号和京东联盟账号的话,也可以自己部署。
项目中的 coupon.js 文件是我部署在 unicloud 免费云函数中的,使用的三方公司“dingdanxia.com”提供的查券接口,如果你也有在使用 unicloud 和 dingdanxia的接口,代码可以直接拷过去修改一下 apikey 就可以使用了。