修改状态刷新
This commit is contained in:
parent
b220a4ea96
commit
84e8a6dfda
@ -1602,6 +1602,14 @@ func RefreshPublish() error {
|
|||||||
}
|
}
|
||||||
for _, platformInfo := range workInfo.PlatformInfoData {
|
for _, platformInfo := range workInfo.PlatformInfoData {
|
||||||
if platformInfo.PublishMediaID == "" {
|
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
|
continue
|
||||||
}
|
}
|
||||||
var infoReq = &cast.UpdateWorkPlatformInfoReq{
|
var infoReq = &cast.UpdateWorkPlatformInfoReq{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user