fix: 如果RecommendHashtags接口调用失败,就不更新为已调用

This commit is contained in:
cjy 2026-01-09 10:55:16 +08:00
parent 3ded74991c
commit df21fe78fa

View File

@ -572,12 +572,6 @@ func UpdateCastTagWatchCountTask() {
zap.String("hashTag", tag.HashTag), zap.String("hashTag", tag.HashTag),
zap.String("uuid", tag.Uuid), zap.String("uuid", tag.Uuid),
zap.Error(err)) zap.Error(err))
// 调用失败时将WatchCount更新为1IsWatchCountCalled更新为1
updateData = append(updateData, &cast.CastTagInfo{
Uuid: tag.Uuid,
WatchCount: 1,
IsWatchCountCalled: 1,
})
continue continue
} }