Commit 45807a9a authored by hujun's avatar hujun

通话记录

parent 1caabbe9
......@@ -39,7 +39,7 @@ class CellPhone extends Basic
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
$report = new SecretReport();
$field = 'agents_id,users_id,call_type,call_time,time,voice_file,c.user_status,a.id,a.create_time,a.type,secret_no,d.content,c.id as user_id';
$field = 'agents_id,users_id,call_type,call_time,time,voice_file,c.user_status,a.id,a.create_time,a.type,secret_no,c.id as user_id';
$where = [];
if (!empty($this->params['start_date'])) {
......
......@@ -28,7 +28,6 @@ class SecretReport extends BaseModel
$data = $this->field($field)->alias('a')
->join('a_agents b','a.agents_id=b.id','left')
->join('u_users c','a.users_id=c.id','left')
->where($params)
->order($order_)
->limit($pageSize)
......@@ -64,7 +63,7 @@ class SecretReport extends BaseModel
}
if ($v->voice_file) {
$result[$k]['voice_file'] = 'http://192.168.1.22/static/voice/'.$v->voice_file;
$result[$k]['voice_file'] = 'http://192.168.0.22/static/voice/'.$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