下面这个地址打开两个窗口

https://developer.aliyun.com/adc/series/fc/

google浏览器安装Free Auto Refresh类似的插件。

第一个窗口定时5-30分钟刷新一下

第二个窗口F12粘贴一下代码,不用你去12点执行代码

成功抢到会有红色的输出。失败的都是灰色或者黑色输出

姓名、地址、手机号请自行修改为真实即可。

setInterval(function () {
    var date=new Date();
    var hour=date.getHours();
    var minute=date.getMinutes();
    var seconds=date.getSeconds();
    //23:59:30开始     00:00:59停止
    if((hour===23&&minute===59&&seconds>=30)||(hour===0&&minute===0&&seconds<=59)){
        fetch("https://developer.aliyun.com/developer/api/award/receivePrize", {
            "headers": {
                "accept": "*/*",
                "content-type": "application/json",
                "x-requested-with": "XMLHttpRequest"
            },
            "referrerPolicy": "no-referrer-when-downgrade",
            "body": '{"mobile":"手机","awardId":"e7b816800c3f4ca9811eaaf3b6a29ccf","name":"姓名","extension":"{ \'address\': \'地址\' }"}',
            "method": "POST",
            "mode": "cors",
            "credentials": "include"
        }).then(function (data) {
            data.json().then((res,reg)=>{
                if(res.success&&res.message.indexOf("成功")>-1){//成功
                    console.error(res)
                }else{
                    //失败
                    console.log(res);
                }
            })
            console.log(data.json())
        }).then(function (Json) {
            console.log(Json);
        })
    }
}, 50);//50毫秒
最后修改:2020 年 07 月 06 日
如果觉得我的文章对你有用,请随意赞赏