@ -82,7 +82,7 @@ namespace :video do
result = AliyunVod::Service.get_play_info(v.uuid)
if result.present? && result["VideoBase"]["Duration"].present?
p '-----#{v.id} , #{result["VideoBase"]["Duration"]]}'
video.update(duration: result["VideoBase"]["Duration"])
v.update(duration: result["VideoBase"]["Duration"])
end