Commit 21633cfc authored by hujun's avatar hujun

注释

parent f4da158b
......@@ -107,13 +107,13 @@ class CallPhoneService
$result['status'] = 'success';
$result['phone'] = $phone_b;
if ($landlord) {
if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
}
} else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
}
// if ($landlord) {
// if ($house_id) {
// $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
// }
// } else {
// $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
// }
return $result;
}
......@@ -131,13 +131,13 @@ class CallPhoneService
$result['phone'] = $phone_x['phone_x'];
$result['msg'] = '已绑定,返回隐私号码。';
if ($landlord) {
if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
}
} else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
}
// if ($landlord) {
// if ($house_id) {
// $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(房源)
// }
// } else {
// $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
// }
return $result; //绑定过了,返回隐号
}
......@@ -186,13 +186,13 @@ class CallPhoneService
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);
if ($landlord) {
if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(客源)
}
} else {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(房源)
}
// if ($landlord) {
// if ($house_id) {
// $result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(客源)
// }
// } else {
// $result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(房源)
// }
}
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