|
@@ -55,7 +55,7 @@ func AddActivityVideoHistory(user *models.WxUserItem, activityId, playSeconds in
|
|
|
if utils.Rc.IsExist(key) {
|
|
|
return
|
|
|
}
|
|
|
- utils.Rc.Put(key, 1, 10*time.Second)
|
|
|
+ utils.Rc.Put(key, 1, 10*time.Minute)
|
|
|
var err error
|
|
|
defer func() {
|
|
|
if err != nil {
|
|
@@ -111,7 +111,7 @@ func AddActivityVoiceHistory(user *models.WxUserItem, activityId, playSeconds in
|
|
|
if utils.Rc.IsExist(key) {
|
|
|
return
|
|
|
}
|
|
|
- utils.Rc.Put(key, 1, 10*time.Second)
|
|
|
+ utils.Rc.Put(key, 1, 10*time.Minute)
|
|
|
var err error
|
|
|
defer func() {
|
|
|
if err != nil {
|