Commit 45441145 authored by hujun's avatar hujun

异常捕获

parent 84e113ad
......@@ -185,7 +185,7 @@ class CallPhoneService
}
if (!empty($call_phone['phone'])) {
$call_key = $this->phone_a.'-'.$call_phone['phone'].'_'.$this->phone_b.'_'.$this->is_privacy;
$call_key = $this->phone_a.'_'.$call_phone['phone'].'_'.$this->phone_b.'_'.$this->is_privacy;
$this->redis->set($call_key, $agent_id.'_'.$user_id.'_'.$user_type, $time_out);
}
......
......@@ -126,7 +126,7 @@ class BrokerService
$old_site_id = $m_district->getDistrictKeyById('site_id', ['id' => $agent_data['district_id']]);
$new_site_id = $m_district->getDistrictKeyById('site_id', ['id' => $data['district_id']]);
if ($old_site_id != $new_site_id && empty($data['confirm_old'])) {
if ($old_site_id != $new_site_id && $data['confirm_old'] != 1) {
$result['msg'] = '编辑部门,导致所属城市不一致';
return $result;
}
......
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