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