diff --git a/pkg/cron/task.go b/pkg/cron/task.go index abd7876..123bf21 100644 --- a/pkg/cron/task.go +++ b/pkg/cron/task.go @@ -584,6 +584,12 @@ func UpdateCastTagWatchCountTask() { zap.String("hashTag", tag.HashTag), zap.String("uuid", tag.Uuid), zap.Error(err)) + // 调用失败时,将WatchCount更新为1,IsWatchCountCalled更新为1 + updateData = append(updateData, &cast.CastTagInfo{ + Uuid: tag.Uuid, + WatchCount: 1, + IsWatchCountCalled: 1, + }) continue }