@ -12,7 +12,7 @@ class Videos::DispatchCallbackService < ApplicationService
# TODO:: 拆分事件分发
case params['EventType']
when 'FileUploadComplete' then # 视频上传完成
video.file_url = params['FileUrl']
video.file_url = params['FileUrl'].gsub("http:", "https:")
video.filesize = params['Size']
video.upload_success
video.save!