Commit 795d693e authored by clone's avatar clone

Merge branch '0910-v2.9.1' of https://gitee.com/zwyjjc/tl_estate into 0910-v2.9.1

parents 5344297d eb0f1b9d
...@@ -114,7 +114,7 @@ class PrivacyNumber ...@@ -114,7 +114,7 @@ class PrivacyNumber
} }
} elseif ($v['type'] == 2) { } elseif ($v['type'] == 2) {
/*容联云音频下载*/ /*容联云音频下载*/
$is_down = down_file($v['voice_file'], PHONE_VOICE); $is_down = down_file($v['mp3_url'], PHONE_VOICE);
} }
if (file_exists($is_down)) { if (file_exists($is_down)) {
...@@ -239,16 +239,16 @@ class PrivacyNumber ...@@ -239,16 +239,16 @@ class PrivacyNumber
} }
/** /**
* 录音通知 * 容联云录音通知
* *
* @return string * @return string
*/ */
public function rongRecordingInformUrl() public function rongRecordingInformUrl()
{ {
$params = Request::instance()->param(); $params = Request::instance()->param();
$report = new SecretReport(); $report = new SecretReport();
$where['call_id'] = $params['callId']; $where['call_id'] = $params['callId'];
$update['voice_file'] = $params['recordUrl']; $update['mp3_url'] = $params['recordUrl'];
$report->save($update, $where); $report->save($update, $where);
$str = date('Y-m-d h:i:s') . ' 容联云录音' . var_export($params, true); $str = date('Y-m-d h:i:s') . ' 容联云录音' . var_export($params, true);
Log::write($str, 'rongRecordingInformUrl'); //记录日志 Log::write($str, 'rongRecordingInformUrl'); //记录日志
......
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