内存缓存周期单位改成天

This commit is contained in:
刘祥超
2021-11-15 09:15:23 +08:00
parent 7ec916c1fb
commit 9ac7b9b2c0

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 {