|
|
@@ -28,13 +28,14 @@ async function interval() {
|
|
|
const day = now.getDate();
|
|
|
const hour = now.getHours();
|
|
|
const min = now.getMinutes();
|
|
|
+ const sec = now.getSeconds();
|
|
|
if (lastDay === null) {
|
|
|
lastDay = day;
|
|
|
} else if (lastDay !== day) {
|
|
|
// 日期变动,清空数组
|
|
|
infoOK = [];
|
|
|
}
|
|
|
- if ((hour === 0 && min <= 30) || hour >= 16) {
|
|
|
+ if ((hour === 0 && min < 30 && sec < 30) || hour >= 16) {
|
|
|
return;
|
|
|
}
|
|
|
for (let i = 0, j = info.length; i < j; i++) {
|