yxcall
This commit is contained in:
@@ -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 = '未接通';
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user