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

This reverts commit df21fe78fa.
This commit is contained in:
cjy 2026-01-09 11:02:29 +08:00
parent 317d50bad6
commit a5fa884ebc

View File

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