From f407a26edfef1f40cbb0db8630e8dab82bd302b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Fri, 19 Jul 2024 21:54:47 +0800 Subject: [PATCH] 1 --- api/controllers/wxapp/licheb/Customers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/controllers/wxapp/licheb/Customers.php b/api/controllers/wxapp/licheb/Customers.php index d0a6c336..20d0f9ef 100644 --- a/api/controllers/wxapp/licheb/Customers.php +++ b/api/controllers/wxapp/licheb/Customers.php @@ -58,7 +58,7 @@ class Customers extends Wxapp if ($this->get_biz('type') != 5) { $other_data['客户来源'] = $this->get_cfTitle($row); } - $other_data['建档时间'] = $row['p_time']; + $other_data['建档时间'] = date('Y-m-d', strtotime($row['p_time'])); $row['cont_time'] != '0000-00-00 00:00:00' && $other_data['最近联系'] = date('Y-m-d', strtotime($row['cont_time'])); if ($this->session['group_id'] == 1) { $where_visit = ['c_id' => $id, 'biz_id' => $this->biz_id, 'sales_id' => $this->session['uid']]; @@ -921,7 +921,7 @@ class Customers extends Wxapp if ($param['biz_type'] != 5) { $other_data['客户来源'] = $this->get_cfTitle($val); } - $other_data['建档时间'] = $val['p_time']; + $other_data['建档时间'] = date('Y-m-d', strtotime($val['p_time'])); $val['cont_time'] != '0000-00-00 00:00:00' && $other_data['最近联系'] = date('Y-m-d', strtotime($val['cont_time'])); if ($param['group_id'] == 1) { $where_visit = ['c_id' => $val['id'], 'biz_id' => $this->biz_id, 'sales_id' => $this->session['uid']];