Commit 653225ef authored by hujun's avatar hujun

列表录音播放

parent 87f518a0
...@@ -68,7 +68,7 @@ class SecretReport extends Model ...@@ -68,7 +68,7 @@ class SecretReport extends Model
} }
if ($v->voice_file) { if ($v->voice_file) {
$result[$k]['voice_file'] = 'http://192.168.1.22/static'.DS.'voice'.DS.date('Ymd').DS.$v->voice_file; $result[$k]['voice_file'] = 'http://192.168.1.22/static/voice/'.$v->voice_file;
} else { } else {
$result[$k]['voice_file'] = ""; $result[$k]['voice_file'] = "";
} }
......
...@@ -67,7 +67,7 @@ class PrivacyNumber ...@@ -67,7 +67,7 @@ class PrivacyNumber
if (file_exists($is_down)) { if (file_exists($is_down)) {
$data['id'] = $v['id']; $data['id'] = $v['id'];
$data['record_down'] = 1; $data['record_down'] = 1;
$data['voice_file'] = basename($is_down); $data['voice_file'] = date('Ymd').'/'.basename($is_down);
Db::table('aliYun_secret_report')->update($data); Db::table('aliYun_secret_report')->update($data);
} }
} }
......
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