diff --git a/app/crm/service/CustomerService.php b/app/crm/service/CustomerService.php index 9238475..f4b498f 100644 --- a/app/crm/service/CustomerService.php +++ b/app/crm/service/CustomerService.php @@ -91,7 +91,7 @@ class CustomerService foreach ($customer as &$item) { $item = $this->getCustomer($item); if($seas == 'seas'){ - $item['seas_time'] = time()-(empty($item['deleted_at'])?$item['updated_at']:strtotime($item['deleted_at'])); + $item['seas_time'] = time()-(empty($item['deleted_at'])?strtotime($item['updated_at']):strtotime($item['deleted_at'])); } } unset($item);