mirror of
https://github.com/shanmiteko/LotteryAutoScript.git
synced 2026-06-04 21:01:17 +08:00
fix: 过滤专栏时间失效(#67)
This commit is contained in:
parent
c43ab13790
commit
1962d97bc1
@ -337,7 +337,8 @@ class Searcher {
|
||||
let dyinfos = [];
|
||||
/**遍历专栏s */
|
||||
for (const { id, pub_time } of cvs) {
|
||||
if (pub_time / 86400 > article_create_time) {
|
||||
let now_time = Math.floor(Date.now() / 1000);
|
||||
if ((now_time - pub_time) / 86400 > article_create_time) {
|
||||
log.warn("获取动态", `该专栏(${id})创建时间大于设定天数(${article_create_time}天)`)
|
||||
continue
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user