Commit 15abbc1b authored by hujun's avatar hujun

接收值修改

parent 1501f8c1
......@@ -640,12 +640,24 @@ class PrivacyNumber
}
foreach ($result as $k => $v) {
if (empty($v['call_id']) || empty($v['call_time']) || empty($v['call_id']) || !empty($secret_data['record_down'])){
if (empty($v['call_id'])){
continue;
}
if (empty($v['call_time'])) {
continue;
}
if (empty($v['record_down'])) {
continue;
}
$where['call_id'] = $v['call_id'];
$where['sub_id'] = $v['sub_id'];
$where['call_time'] = $v['call_time'];
$where['call_time'] = date('Y-m-d H:i:s', $v['call_time']/1000);
//话单回调与录音回调两个值不一样
// $where['sub_id'] = (string)$v['subs_id'];
// $where[] = ['EXP', 'sub_id ="'.(string)$v['subs_id'].'"'];
try {
$secret_data = $m_secret_report->getFindData($filed_string, $where);
$result_data = PlsDemo::queryRecordFileDownloadUrl($v['call_id'], $v['call_time']);
......
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