refactor(UserLists.php): 优化了会员时间的处理逻辑
This commit is contained in:
parent
fb5fe6574a
commit
f4d45c7e5e
@ -63,7 +63,7 @@ class UserLists extends BaseAdminDataLists implements ListsExcelInterface,ListsS
|
|||||||
$item['vip_name'] = '普通会员';
|
$item['vip_name'] = '普通会员';
|
||||||
}
|
}
|
||||||
if($item['vip_time']!= null){
|
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){
|
if($item['label_name']== null){
|
||||||
$item['label_name'] = '无';
|
$item['label_name'] = '无';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user