From a5fa884ebc356f27142a8753594200e2dc2d6c67 Mon Sep 17 00:00:00 2001 From: cjy Date: Fri, 9 Jan 2026 11:02:29 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E5=A6=82=E6=9E=9CRecommendHas?= =?UTF-8?q?htags=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=EF=BC=8C=E5=B0=B1=E4=B8=8D=E6=9B=B4=E6=96=B0=E4=B8=BA=E5=B7=B2?= =?UTF-8?q?=E8=B0=83=E7=94=A8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit df21fe78fa6eb20c994c65ca4aee444db9056e0f. --- pkg/cron/task.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/cron/task.go b/pkg/cron/task.go index 71ac179..44f6704 100644 --- a/pkg/cron/task.go +++ b/pkg/cron/task.go @@ -572,6 +572,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 }