Skip to content

Commit 216892c

Browse files
author
ziye12
authored
Update githubAC.js
1 parent b509a9b commit 216892c

File tree

1 file changed

+42
-21
lines changed

1 file changed

+42
-21
lines changed

Task/githubAC.js

Lines changed: 42 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ boxjs链接 https://raw.githubusercontent.com/ziye12/JavaScript/main/Task/ziye.
1212
2.7 增加时间控制,多js换行,boxjs手动保存会话,填写,再应用,其他填写环境变量或者githubACCOOKIE.js
1313
2.7-2 修正判定
1414
2.7-3 时间精确到5分
15-
2.12 增至6个时间段
1615
1716
⚠️一共1个位置 3个ck 👉 18条 Secrets(14个时间变量)
1817
多账号换行
@@ -33,31 +32,14 @@ githubACheaderVal 👉GIT_githubACHEADER
3332
githubACbodyVal 👉GIT_githubACBODY
3433
HHA 👉GIT_HHA
3534
HHB 👉GIT_HHB
36-
HHA 👉GIT_HHA
37-
HHB 👉GIT_HHB
38-
HHC 👉GIT_HHC
39-
HHD 👉GIT_HHD
40-
HHE 👉GIT_HHE
41-
HHF 👉GIT_HHF
42-
HHG 👉GIT_HHG
43-
HHH 👉GIT_HHH
44-
HHI 👉GIT_HHI
45-
HHJ 👉GIT_HHJ
46-
HHK 👉GIT_HHK
47-
HHL 👉GIT_HHL
48-
HHM 👉GIT_HHM
49-
HHN 👉GIT_HHN
50-
HHA 👉GIT_HHA
51-
HHB 👉GIT_HHB
52-
5335
MMA 👉GIT_MMA
5436
MMB 👉GIT_MMB
5537
MMC 👉GIT_MMC
5638
MMD 👉GIT_MMD
5739
MME 👉GIT_MME
5840
MMF 👉GIT_MMF
59-
MMG 👉GIT_MMG
60-
MMH 👉GIT_MMH
41+
HHG 👉GIT_HHG
42+
HHH 👉GIT_HHH
6143
MMI 👉GIT_MMI
6244
MMJ 👉GIT_MMJ
6345
MMK 👉GIT_MMK
@@ -1036,7 +1018,45 @@ async function all() {
10361018
await console.log(`-------------------------\n\n🔔开始运行${$.name+(i+1)}${githubACnameVal}】`)
10371019

10381020
$.message += `【${githubACnameVal}${HHAVal}-${HHBVal} ${HHCVal}-${HHDVal} ${HHEVal}-${HHFVal} ${HHGVal}-${HHHVal} ${HHIVal}-${HHJVal} ${HHKVal}-${HHLVal}${MMAVal} ${MMBVal} ${MMCVal} ${MMDVal} ${MMEVal} ${MMFVal} ${MMGVal} ${MMHVal} ${MMIVal} ${MMJVal} ${MMKVal} ${MMLVal} 分运行\n`
1039-
if ((nowTimes.getHours() >= HHAVal && nowTimes.getHours() <= HHBVal) || (nowTimes.getHours() >= HHCVal && nowTimes.getHours() <= HHDVal) || (nowTimes.getHours() >= HHEVal && nowTimes.getHours() <= HHFVal) || (nowTimes.getHours() >= HHGVal && nowTimes.getHours() <= HHHVal) || (nowTimes.getHours() >= HHIVal && nowTimes.getHours() <= HHJVal) || (nowTimes.getHours() >= HHKVal && nowTimes.getHours() <= HHLVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1021+
1022+
1023+
1024+
if ((nowTimes.getHours() >= HHAVal && nowTimes.getHours() <= HHBVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1025+
1026+
await githubAC(); //运行
1027+
1028+
} else
1029+
1030+
if ((nowTimes.getHours() >= HHCVal && nowTimes.getHours() <= HHDVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1031+
1032+
await githubAC(); //运行
1033+
1034+
} else
1035+
1036+
1037+
if ((nowTimes.getHours() >= HHEVal && nowTimes.getHours() <= HHFVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1038+
1039+
await githubAC(); //运行
1040+
1041+
} else
1042+
1043+
1044+
if ((nowTimes.getHours() >= HHGVal && nowTimes.getHours() <= HHHVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1045+
1046+
await githubAC(); //运行
1047+
1048+
} else
1049+
1050+
1051+
1052+
if ((nowTimes.getHours() >= HHIVal && nowTimes.getHours() <= HHJVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
1053+
1054+
await githubAC(); //运行
1055+
1056+
} else
1057+
1058+
1059+
if ((nowTimes.getHours() >= HHKVal && nowTimes.getHours() <= HHLVal) && (nowTimes.getMinutes() == MMAVal || nowTimes.getMinutes() == MMBVal || nowTimes.getMinutes() == MMCVal || nowTimes.getMinutes() == MMDVal || nowTimes.getMinutes() == MMEVal || nowTimes.getMinutes() == MMFVal || nowTimes.getMinutes() == MMGVal || nowTimes.getMinutes() == MMHVal || nowTimes.getMinutes() == MMIVal || nowTimes.getMinutes() == MMJVal || nowTimes.getMinutes() == MMKVal || nowTimes.getMinutes() == MMLVal)) {
10401060

10411061
await githubAC(); //运行
10421062

@@ -1047,6 +1067,7 @@ async function all() {
10471067
}
10481068

10491069

1070+
10501071
}
10511072
}
10521073
//通知

0 commit comments

Comments
 (0)