瀏覽代碼

Merge branch 'cygx_12.4' of http://8.136.199.33:3000/cxzhang/hongze_clpt into debug

xingzai 1 年之前
父節點
當前提交
dbd79d12bd
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      services/askserie_video.go
  2. 2 2
      services/cygx_activity_video_history.go
  3. 1 1
      services/micro_roadshow.go

+ 1 - 1
services/askserie_video.go

@@ -16,7 +16,7 @@ func AddAskserieVideoHistoryRecord(user *models.WxUserItem, askserieVideoId, pla
 	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 {

+ 2 - 2
services/cygx_activity_video_history.go

@@ -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 {

+ 1 - 1
services/micro_roadshow.go

@@ -766,7 +766,7 @@ func AddMicroRoadshowVideoRecord(user *models.WxUserItem, videoId, playSeconds i
 	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 {