Commit 8dfc2141 authored by hujun's avatar hujun

拨打电话默认跟进

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