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{