diff --git a/app/services/videos/batch_publish_service.rb b/app/services/videos/batch_publish_service.rb index d2659d3d3..aa2467f7a 100644 --- a/app/services/videos/batch_publish_service.rb +++ b/app/services/videos/batch_publish_service.rb @@ -17,6 +17,8 @@ class Videos::BatchPublishService < ApplicationService ActiveRecord::Base.transaction do video_params.each do |param| video = user.videos.find_by(uuid: param[:video_id]) + Rails.logger.info("video.processing_video_apply:#{video.processing_video_apply}") + Rails.logger.info("video.processing_video_apply:#{video}") next if video.blank? || video.processing_video_apply.present? raise Error, '视频还未上传完成' if video.vod_uploading?