mirror of https://github.com/KingRan/KR.git
parent
0a1b518c34
commit
f9d1096713
|
@ -117,8 +117,8 @@ console.log(`共${cookiesArr.length}个京东账号\n`);
|
|||
option = {};
|
||||
lnrun++;
|
||||
await jdPet();
|
||||
if (lnrun == 5) {
|
||||
console.log(`\n【访问接口次数达到5次,休息一分钟.....】\n`);
|
||||
if (lnrun == 3) {
|
||||
console.log(`\n【访问接口次数达到3次,休息一分钟.....】\n`);
|
||||
await $.wait(60 * 1000);
|
||||
lnrun = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue