mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-04-25 05:05:48 +08:00
内存缓存周期单位改成天
This commit is contained in:
@@ -15,7 +15,7 @@ const (
|
||||
// 计算当前周
|
||||
// 不要用YW,因为需要计算两周是否临近
|
||||
func currentWeek() int32 {
|
||||
return int32(time.Now().Unix() / 604800)
|
||||
return int32(time.Now().Unix() / 86400)
|
||||
}
|
||||
|
||||
type Item struct {
|
||||
|
||||
Reference in New Issue
Block a user