Commit 44a50ac8 authored by hujun's avatar hujun

1

parent 16a3697d
......@@ -156,20 +156,6 @@ class Remark extends Basic
}
$call_key = 'call_' . $this->userId . '_' . $phone . '_' . $v['user_phone'] . '_' . $is_privacy;
$redis_res = $redis->get($call_key);
if ($is_outpace_call_num == 1) {
$is_privacy = $redis->get('s_is_privacy');//判断是否当前经纪人跟当前客户是否有电话绑定 从redis查询
if (empty($result[0]['phone'])) {
$m_agent_phone = new AAgentsPhone();
$agent_phone = $m_agent_phone->getList(1, 1, '', 'phone', ['agent_id' => $this->userId]);
$phone = $agent_phone[0]['phone'];
} else {
$phone = $result[0]['phone'];
}
$call_key = 'call_' . $this->userId . '_' . $phone . '_' . $v['user_phone'] . '_' . $is_privacy;
$redis_res = $redis->get($call_key);
if (empty($redis_res)) {
$is_outpace_call_num = 1;
}
......@@ -184,7 +170,6 @@ class Remark extends Basic
$data['data']['total'] = 40000;
return $this->response(200, '成功', $data);
}
}
/**
* @return \think\Response
......
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