@ -48,6 +48,7 @@ namespace :video do
result = AliyunVod::Service.get_play_info(video.uuid)
puts result
play_url = data[:PlayInfoList][:PlayInfo][:PlayURL]
puts play_url
# play_url = (result.dig('PlayInfoList', 'PlayInfo') || []).first&.[]('PlayURL')
video.update!(play_url: play_url) if play_url.present?