Commit 2f689866 authored by hujun's avatar hujun

文件名

parent 4d59d129
...@@ -107,8 +107,8 @@ class PrivacyNumber ...@@ -107,8 +107,8 @@ class PrivacyNumber
if ($param['record_down'] == 1) { if ($param['record_down'] == 1) {
$file_name = basename($down_url[0]); $file_name = basename($down_url[0]);
} else { } else {
$file_name = pathinfo($v['voice_file']); $file_name = explode('/', $v['voice_file']);
$file_name = $file_name['filename']; $file_name = $file_name[1];
} }
$is_down = down_file($result_data->DownloadUrl, PHONE_VOICE, $file_name); $is_down = down_file($result_data->DownloadUrl, PHONE_VOICE, $file_name);
} }
......
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