京东全民养红包 利用代码一键完成

1、打开http://www.jd.com 登录京东账号

2、打开https://happy.m.jd.com/babelDiy/GZWVJFLMXBQVEBDQZWMY/XJf8bH6oXDWSgS91京东app下载daDJ京东官网zXh9bU7/index.html&n京东官网bsp;进入活动页面

3、按F12 点击Console 输入代码 之后按一下回车键 就会自动完成了

let productLi京东快递查询st=[],s京东商城hopList=[],url=”https://api.m.jd.com/client.action”;function autoPost(id,type)京东商城网上购物{fetch(`${url}?timestamp=${ne京东客服电话w D京东app下载ate().getTime()}`,{method:”POST”,mode:”cors”京东极速版,credent京东ials:”include”,headers:{“Con京东tent-Type”:”application/x-www-form-urlencoded”},body:`function京东Id=raisepacket_collectS京东core&body={“type”:${type},”ex京东极速版t”京东快递查询:”${id}”,”appsign”:1京东金融,”msgsign”:2}&client=wh5`京东白条}).then(function(response){return response.json()}).then(function(res){京东官网console.lo京东金融g(res.data.biz_msg)})}function start(){fetch(`${url}?${new Date().getTime()}`,{method:”POST”,mode:”cors”,credentials:”include”,headers:{“Content-Type”:”application/x-www-form-urlencoded”},body:’functionId=raisepacket_getShopAndProductList&body=&amp京东快递查询;client=wh京东5′}).then(fu京东白条nction(response){return response.json()}).then(fun京东金融ction(res){productList=res.data.result.productList;shopList=res.data.result.shopList;co京东快递查询nsole.log(`获取到任务,商品:${productList.length}商品:${京东shopList京东.length}`);a京东官网utoProductTask()})}function autoProductT京东白条ask(){for(let i=0,leng=productList.length;i<leng;i++){(function(index){setTimeout(()=>{let item=productL京东ist[index];autoPost(item[‘id’],4);console.log(`商品总任务数:${leng}当前任务数:${inde京东app下载x+1}`);if(le京东客服电话ng-1京东app下载==index){autoShopTask()}},index*1500)})京东快递查询(i)}}function autoShopTask(){for(le京东商城t i=0,京东白条leng=shopLi京东极速版st.length;i<leng;i++){(function(index){setTimeout(()=>{let item京东快递查询=shopList[index];autoPost(item[‘id’],2);console.log(`商铺总任务数:${leng}当前任务数:${index+京东金融1}`);if(leng-1==index){au京东极速版toPlay()}},index*1500)})(i)}}function autoPlay(){for(let i=0,leng=4;i<leng;i++){(function(index){setTimeout(()=>{autoPost(0,5);console.log(`好玩互动:${leng}当前任务数:${index+1}`)京东白条;if(leng-1==index){autoInteract()}},index*1000)})(i)}}function autoInteract(){for(let i=0,leng=4京东客服电话;i<leng;i++)京东极速版{(function(index){setTime京东商城out(()=>{autoPost(0,10);console.log(`视频直播:${leng}当前任务京东极速版数:${index+1}`);if(leng-1==index){autoShopping京东商城()}},index*1000)})(i)}}function autoShoppi京东app下载ng京东白条(){for(let i=0,leng=3;i<l京东快递查询eng;i++){(function(index){setTimeout(()=>{autoPo京东商城st(0,3);console.log(`精彩会场:${leng}当前任务数:${index+1}`)},index*1000)})京东app下载(i)}}start();