diff --git a/internal/caches/item.go b/internal/caches/item.go index 3ddb39c..58548c9 100644 --- a/internal/caches/item.go +++ b/internal/caches/item.go @@ -15,7 +15,7 @@ const ( // 计算当前周 // 不要用YW,因为需要计算两周是否临近 func currentWeek() int32 { - return int32(time.Now().Unix() / 604800) + return int32(time.Now().Unix() / 86400) } type Item struct {