Commit 21633cfc authored by hujun's avatar hujun

注释

parent f4da158b
...@@ -107,13 +107,13 @@ class CallPhoneService ...@@ -107,13 +107,13 @@ class CallPhoneService
$result['status'] = 'success'; $result['status'] = 'success';
$result['phone'] = $phone_b; $result['phone'] = $phone_b;
if ($landlord) { // if ($landlord) {
if ($house_id) { // if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源) // $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
} // }
} else { // } else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源) // $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
} // }
return $result; return $result;
} }
...@@ -131,13 +131,13 @@ class CallPhoneService ...@@ -131,13 +131,13 @@ class CallPhoneService
$result['phone'] = $phone_x['phone_x']; $result['phone'] = $phone_x['phone_x'];
$result['msg'] = '已绑定,返回隐私号码。'; $result['msg'] = '已绑定,返回隐私号码。';
if ($landlord) { // if ($landlord) {
if ($house_id) { // if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源) // $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
} // }
} else { // } else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源) // $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
} // }
return $result; //绑定过了,返回隐号 return $result; //绑定过了,返回隐号
} }
...@@ -186,13 +186,13 @@ class CallPhoneService ...@@ -186,13 +186,13 @@ class CallPhoneService
if ($result['status'] == 'success') { if ($result['status'] == 'success') {
$bind->recordBindPhone($call_phone['phone'], $phone_a, $phone_b, $record, $this->expiry_date, $this->subs_id, $this->request_id, $this->mapping_id, $this->is_privacy, $this->release); $bind->recordBindPhone($call_phone['phone'], $phone_a, $phone_b, $record, $this->expiry_date, $this->subs_id, $this->request_id, $this->mapping_id, $this->is_privacy, $this->release);
if ($landlord) { // if ($landlord) {
if ($house_id) { // if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(客源) // $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(客源)
} // }
} else { // } else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(房源) // $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(房源)
} // }
} }
Log::write(json_encode($result), $type); //记录日志 Log::write(json_encode($result), $type); //记录日志
......
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