From c15b85e3689c6e2a7f537eb89ca32dace5b06597 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 7 Feb 2020 23:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/videos/batch_publish_service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/videos/batch_publish_service.rb b/app/services/videos/batch_publish_service.rb index eaa523ff7..a02732754 100644 --- a/app/services/videos/batch_publish_service.rb +++ b/app/services/videos/batch_publish_service.rb @@ -30,6 +30,7 @@ class Videos::BatchPublishService < ApplicationService video_ids << video.id # 如果是课堂上传则创建课堂记录 + Rails.logger.info("#####param: #{ param[:course_id]}") if param[:course_id].present? video.course_videos.create!(course_id: param[:course_id]) end