...
|
...
|
@@ -73,7 +73,9 @@ class User extends Backend |
|
|
->paginate($limit);
|
|
|
|
|
|
foreach ($list as $row) {
|
|
|
$row->visible(['id', 'avatar', 'nickname', 'CountMinutes', 'vip', 'exp_time', 'status', 'type', 'createtime', 'updatetime', 'base_title', 'pi_title']);
|
|
|
$row->visible(['id', 'avatar', 'nickname', 'CountMinutes', 'vip', 'exp_time', 'status', 'type', 'createtime', 'updatetime', 'base_title', 'pi_title',
|
|
|
'car_image_zheng','car_image_fan','kaoshi_image','danfei_image','learn_image','tijian_image'
|
|
|
]);
|
|
|
$CountMinutes = ($row['CountMinutes'] == 0) ? '0分钟' : $row['CountMinutes'] . '分钟';
|
|
|
$CountHours = ($row['CountMinutes'] == 0) ? '0小时' : round($row['CountMinutes'] / 60, 2) . '小时';
|
|
|
$row['CountMinutes'] = $CountMinutes . '/' . $CountHours;
|
...
|
...
|
|