diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index c5ddaa8c..4ad5b21c 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -635,7 +635,7 @@ class Customer extends HD_Controller if ($value['type'] == 2) { $rec_row = $this->receiver_yx_model->get(['id' => $value['log']], 'rec_url,duration'); if ($rec_row['duration']) { - $rec_row['rec_url'] && $rec_url = build_qiniu_image_url($row['rec_url'], 0, 0, 'video'); + $rec_row['rec_url'] && $rec_url = get_yx_video($rec_row['rec_url']); !$rec_row['rec_url'] && $rec_text = '录音暂未生成'; } else { $rec_text = '未接通'; diff --git a/common/helpers/comm_helper.php b/common/helpers/comm_helper.php index 085c0a73..df453256 100644 --- a/common/helpers/comm_helper.php +++ b/common/helpers/comm_helper.php @@ -1207,7 +1207,7 @@ if (!function_exists('get_yx_video')) { if (strpos($string, 'hangzhou.aliyuncs.com') !== false) { $record = $string; } else { - $record = build_qiniu_image_url($string); + $record = build_qiniu_image_url($string, 0, 0, 'video'); } return $record; }