打印日志

dev_video
daiao 5 years ago
parent ec9e66c149
commit c15b85e368

@ -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

Loading…
Cancel
Save