Commit 44d4ac23 authored by hujun's avatar hujun

已绑定号码返回绑定号码

parent fbfb0874
......@@ -130,6 +130,14 @@ class CallPhoneService
$result['status'] = 'success';
$result['phone'] = $phone_x['phone_x'];
$result['msg'] = '已绑定,返回隐私号码。';
if ($landlord) {
$result['follow_id'] = $this->addPhoneFollow(); //打默认跟进(客源)
} else {
if ($house_id) {
$result['follow_id'] = $this->addPhoneFollow(false, $house_id); //打默认跟进(客源)
}
}
return $result; //绑定过了,返回隐号
}
......
......@@ -74,7 +74,10 @@ class PerformanceInfo extends Basic
$where['Agent.phone'] = ['like', '%'.$this->params['phone'].'%'];
}
//todo 成交报告id
if ($this->params['bargain_id'] != NULL) {
$where['Obargain.id'] = $this->params['bargain_id'];
}
$field = 'Obargain.create_time,';
$field .= 'Obargain.id,';
......
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