|
|
@ -108,8 +108,10 @@ class Invite extends Controller |
|
|
|
->paginate(15); |
|
|
|
->paginate(15); |
|
|
|
$data['list'] = $list->items(); |
|
|
|
$data['list'] = $list->items(); |
|
|
|
if (!empty($data['list'])) { |
|
|
|
if (!empty($data['list'])) { |
|
|
|
foreach ($data['list'] as &$item) { |
|
|
|
foreach ($data['list'] as $key => $item) { |
|
|
|
$item['create_time'] = date('Y-m-d H:i:s', $item['create_time']); |
|
|
|
if (!empty($item->create_time)) { |
|
|
|
|
|
|
|
$data['list'][$key]->create_time = date('Y-m-d H:i:s', $item->create_time); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
$data['total'] = $list->total(); |
|
|
|
$data['total'] = $list->total(); |
|
|
|