From 84e8a6dfda2eb20c962eaf562832a218d0e6c2bb Mon Sep 17 00:00:00 2001 From: daiyb <570956418@qq.com> Date: Mon, 12 Jan 2026 14:35:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81=E5=88=B7?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/cast/work.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/service/cast/work.go b/pkg/service/cast/work.go index ad988d7..cc4c55b 100644 --- a/pkg/service/cast/work.go +++ b/pkg/service/cast/work.go @@ -1602,6 +1602,14 @@ func RefreshPublish() error { } for _, platformInfo := range workInfo.PlatformInfoData { if platformInfo.PublishMediaID == "" { + var infoReq = &cast.UpdateWorkPlatformInfoReq{ + PlatformInfoData: make([]*cast.PlatformInfo, 0), + } + infoReq.PlatformInfoData = append(infoReq.PlatformInfoData, &cast.PlatformInfo{ + WorkUuid: workInfo.WorkUuid, + PublishStatus: cast.PublishStatusENUM_PublishMediaStatus_NO, + }) + _, _ = service.CastProvider.UpdateWorkPlatformInfo(context.Background(), infoReq) continue } var infoReq = &cast.UpdateWorkPlatformInfoReq{