跟进时间
This commit is contained in:
@@ -60,10 +60,8 @@ class FollowService
|
|||||||
}
|
}
|
||||||
$follow['picture_full'] = $oss_picture;
|
$follow['picture_full'] = $oss_picture;
|
||||||
|
|
||||||
// $follow = Util::formatDate($follow,['created_at','updated_at','follow_time']);
|
$follow = Util::formatDate($follow,['created_at','updated_at','follow_time']);
|
||||||
$follow['follow_time'] = empty($follow['follow_time'])?'':date('Y-m-d H:i:s', $follow['follow_time']);
|
$follow['follow_time'] = empty($follow['follow_time'])?'':$follow['follow_time'];
|
||||||
$follow['created_at'] = empty($follow['created_at'])?'':date('Y-m-d H:i:s', $follow['created_at']);
|
|
||||||
$follow['updated_at'] = empty($follow['updated_at'])?'':date('Y-m-d H:i:s', $follow['updated_at']);;
|
|
||||||
// $follow = Util::formatDate($follow);
|
// $follow = Util::formatDate($follow);
|
||||||
return $follow;
|
return $follow;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -470,9 +470,7 @@ class CustomerService
|
|||||||
$ossservice = new OssService();
|
$ossservice = new OssService();
|
||||||
foreach ($follow as $item) {
|
foreach ($follow as $item) {
|
||||||
$item = Util::formatDate($item,['created_at','updated_at','follow_time']);
|
$item = Util::formatDate($item,['created_at','updated_at','follow_time']);
|
||||||
$item['follow_time'] = empty($item['follow_time'])?'':date('Y-m-d H:i:s', $item['follow_time']);
|
$item['follow_time'] = empty($item['follow_time'])?'':$item['follow_time'];
|
||||||
$item['created_at'] = empty($item['created_at'])?'':date('Y-m-d H:i:s', $item['created_at']);
|
|
||||||
$item['updated_at'] = empty($item['updated_at'])?'':date('Y-m-d H:i:s', $item['updated_at']);;
|
|
||||||
$item['picture_full'] = empty($item->picture)?'':$ossservice->generatePrivateUrl($item->picture);
|
$item['picture_full'] = empty($item->picture)?'':$ossservice->generatePrivateUrl($item->picture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user