diff --git a/internal/biz/vo/cache.go b/internal/biz/vo/cache.go index 3081ab0..4c45d0e 100644 --- a/internal/biz/vo/cache.go +++ b/internal/biz/vo/cache.go @@ -31,19 +31,23 @@ const ( ) var CacheKeyMap = map[CacheKey]time.Duration{ - CmbOrderLockKey: 30 * time.Second, - CmbQueryLockKey: 30 * time.Second, - CmbProductQueryLockKey: 30 * time.Second, - CmbBatchNoticeCacheKey: 21600 * time.Second, // 6小时 - CmbBatchNoticeLockKey: 300 * time.Second, - OrderConsumeFailAlarmKey: 3 * time.Hour, // 3小时 - OrderConsumeFailAlarmLockKey: 60 * time.Second, - NotifyRetryConsume: 60 * time.Second, + CmbOrderLockKey: 30 * time.Second, + CmbQueryLockKey: 30 * time.Second, + CmbProductQueryLockKey: 30 * time.Second, + + CmbBatchNoticeCacheKey: 21600 * time.Second, // 6小时 + CmbBatchNoticeLockKey: 300 * time.Second, + + OrderConsumeFailAlarmKey: 3 * time.Hour, // 3小时 + OrderConsumeFailAlarmLockKey: 60 * time.Second, + + NotifyRetryConsume: 60 * time.Second, + WechatNotifyRegisterTagCacheKey: 30 * 86400 * time.Second, // 30天 WechatNotifyRegisterTagCacheLockKey: 60 * time.Second, WechatNotifyConsumeLockKey: 30 * time.Second, - ProductQueryKey: 15 * 86400 * time.Second, // 15天 + ProductQueryKey: 30 * 86400 * time.Second, // 15天 ProductQueryLockKey: 30 * time.Second, }