内存缓存周期单位改成天

This commit is contained in:
GoEdgeLab
2021-11-15 09:15:23 +08:00
parent 7087adacda
commit 8855b3c173

View File

@@ -15,7 +15,7 @@ const (
// 计算当前周
// 不要用YW因为需要计算两周是否临近
func currentWeek() int32 {
return int32(time.Now().Unix() / 604800)
return int32(time.Now().Unix() / 86400)
}
type Item struct {