Created
December 19, 2016 06:56
-
-
Save jackyshan/6eabe4ef014a7f02302e897614ea9f38 to your computer and use it in GitHub Desktop.
分享领券刷手机号
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mobs = new Array() | |
for (var index = 10; index < 100; index++) { | |
var mobile = '186201121'+index | |
mobs.push(mobile) | |
} | |
var index = 0 | |
window.setInterval(function(){ | |
mobile = mobs[index++] | |
$.ajax('/share/get_free_service',{ | |
'type':'post', | |
'dataType':'json', | |
'data':{ | |
'u':'1206', | |
'sign':'195ed00a492daaf000a1794e73613337', | |
'mobile':mobile | |
}, | |
'success':function(result){ | |
if(result && result.code==1){ | |
console.log('领取成功'+mobile) | |
}else if(result && result.code==0){ | |
console.log(result.message); | |
}else{ | |
console.log(result); | |
} | |
}, | |
'error':function(error){ | |
console.log(error) | |
} | |
}) | |
}, 1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment