Commit 2cafda40 authored by hujun's avatar hujun

mp3_url

parent 0db7877d
......@@ -90,7 +90,7 @@ class PrivacyNumber
}
$m_secret = new AliYunSecretReport();
$fields = 'id,call_id,call_time,voice_file,type,record_down';
$fields = 'id,call_id,call_time,voice_file,type,record_down,mp3_url';
$where['time'] = [ '>', 0 ];
$where['type'] = [ '>', 0 ];
......@@ -114,7 +114,9 @@ class PrivacyNumber
}
} elseif ($v['type'] == 2) {
/*容联云音频下载*/
$is_down = down_file($v['mp3_url'], PHONE_VOICE);
if (!empty($v['mp3_url'])) {
$is_down = down_file($v['mp3_url'], PHONE_VOICE);
}
}
if (file_exists($is_down)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment