refactor(UserLists.php): 优化了会员时间的处理逻辑

This commit is contained in:
mkm 2024-07-25 11:37:13 +08:00
parent fb5fe6574a
commit f4d45c7e5e

View File

@ -63,7 +63,7 @@ class UserLists extends BaseAdminDataLists implements ListsExcelInterface,ListsS
$item['vip_name'] = '普通会员';
}
if($item['vip_time']!= null){
$item['vip_time'] = date('Y-m-d H:i:s', strtotime($item['vip_time']));
$item['vip_time'] = date('Y-m-d H:i:s', $item['vip_time']);
}
if($item['label_name']== null){
$item['label_name'] = '无';