时间处理
This commit is contained in:
@@ -135,7 +135,6 @@ class CustomerService
|
|||||||
foreach ($customer as &$item) {
|
foreach ($customer as &$item) {
|
||||||
$item = $this->getCustomer($item);
|
$item = $this->getCustomer($item);
|
||||||
$item['desc_collect'] = $item['desc_collect'] ?? '';
|
$item['desc_collect'] = $item['desc_collect'] ?? '';
|
||||||
$item['follow_next'] = empty($item['follow_next'])?'':date('Y-m-d H:i:s', $item['follow_next']);
|
|
||||||
if ($seas == 'seas' || $scene == 'seas') {
|
if ($seas == 'seas' || $scene == 'seas') {
|
||||||
$item['seas_time'] = time() - (empty($item['deleted_at'])?strtotime($item['updated_at']):strtotime($item['deleted_at']));
|
$item['seas_time'] = time() - (empty($item['deleted_at'])?strtotime($item['updated_at']):strtotime($item['deleted_at']));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user