Merge remote-tracking branch 'origin/master'

This commit is contained in:
wisz2021
2021-06-09 10:49:12 +08:00

View File

@ -35,9 +35,7 @@ const pKHelpAuthorFlag = true;//是否助力作者PK true 助力false 不助
let cookiesArr = [];
$.cookie = '';
$.inviteList = [];
$.pkInviteList = [
"sSKNX-MpqKOJsNu8mJ7RA9BJMup4tAAmPcPPPhBUWYKUJ19UKeC8EAoKeUXELi4g",
];
$.pkInviteList = [];
$.secretpInfo = {};
$.innerPkInviteList = [];
if ($.isNode()) {
@ -94,12 +92,8 @@ if ($.isNode()) {
res = await getAuthorShareCode() || [];
res2 = await getAuthorShareCode('http://cdn.trueorfalse.top/e528ffae31d5407aac83b8c37a4c86bc/') || [];
}
if (new Date().getHours() === 9 || (new Date().getHours() === 10 && new Date().getMinutes() < 20)) {
$.innerPkInviteList.push('sSKNX-MpqKPS7Le4m5rbBpODDLhoZ9ruJViTqJpv4c2Lm2-TfJwzRBS82zBEzkXE');
$.innerPkInviteList.push('sSKNX-MpqKOJsNvSzMSZfAM9H7GwE_7GAGP6h5-yWMFC6rsV_bSQHlBmw28AoA');
$.innerPkInviteList.push('sSKNX-MpqKOJsNvM-u2vdyHH5x3rrYdCxJ-sE_oy8C69xCinRiEdQ3bib4w41A');
$.innerPkInviteList.push('sSKNX-MpqKOJsNu-ms-IVdCm3z528hK5o2UJgQWu0nCM-DsOo6H6pwAnkox1F2YA');
}
// if (new Date().getHours() === 9 || (new Date().getHours() === 10 && new Date().getMinutes() < 20)) {
// }
if (pKHelpAuthorFlag) {
$.innerPkInviteList = getRandomArrayElements([...$.innerPkInviteList, ...res, ...res2, ...res3], [...$.innerPkInviteList, ...res, ...res2, ...res3].length);
$.pkInviteList.push(...$.innerPkInviteList);