Commit 8dfc2141 authored by hujun's avatar hujun

拨打电话默认跟进

parent ddc69ae4
...@@ -144,14 +144,14 @@ class CallPhoneService ...@@ -144,14 +144,14 @@ class CallPhoneService
$this->expiry_date = _EXPIRATION; $this->expiry_date = _EXPIRATION;
} else { } else {
if ($landlord) { if ($landlord) {
$this->expiry_date = date('Y-m-d H:i:s', strtotime("+{$this->day_num} day"));
} else {
if ($this->day_num == 0) { if ($this->day_num == 0) {
$this->expiry_date = date('Y-m-d H:i:s', time() + 5); $this->expiry_date = date('Y-m-d H:i:s', time() + 5);
$this->release = 0; $this->release = 0;
} else { } else {
$this->expiry_date = date('Y-m-d H:i:s', strtotime("+{$this->landlord_phone_day} day")); $this->expiry_date = date('Y-m-d H:i:s', strtotime("+{$this->landlord_phone_day} day"));
} }
} else {
$this->expiry_date = date('Y-m-d H:i:s', strtotime("+{$this->day_num} day"));
} }
} }
......
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