视频上传

dev_aliyun2
cxt 5 years ago committed by harry
parent 169da2f2ca
commit 6546221503

@ -51,7 +51,7 @@ class Videos::BatchPublishService < ApplicationService
# 如果是课堂上传则创建课堂记录
Rails.logger.info("#####param: #{ param[:course_id]}")
if param[:course_id].present?
course_second_category_id = params[:category_id] || 0
course_second_category_id = param[:category_id] || 0
video.course_videos.create!(course_id: param[:course_id], course_second_category_id: course_second_category_id)
end
end

Loading…
Cancel
Save