Commit 79aba954 authored by hujun's avatar hujun

录音文件路径

parent f22eb4ef
......@@ -168,7 +168,7 @@ class CellPhone extends Basic
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
$report = new SecretReport();
$field = 'agents_id,users_id,release_time,start_time,call_type,call_time,time,voice_file';
$field = 'agents_id,users_id,release_time,start_time,call_type,call_time,time,voice_file,create_time';
$where = [];
if ($this->params['start_time']) {
......
......@@ -67,7 +67,7 @@ class SecretReport extends Model
}
if ($v->voice_file) {
$result[$k]['voice_file'] = '192.168.10.153/static'.DS.'voice'.DS.$v->voice_file;
$result[$k]['voice_file'] = 'http://192.168.10.153/static'.DS.'voice'.DS.date('Ymd').DS.$v->voice_file;
} else {
$result[$k]['voice_file'] = "";
}
......
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