add
This commit is contained in:
parent
3e3d91ef9f
commit
0830b5d352
@ -69,12 +69,7 @@ class CostConsultationReportController extends BaseAdminController
|
||||
}
|
||||
});
|
||||
$count = $query->count();
|
||||
$lists = $query->page($page_no, $page_size)->select()->each(function($item){
|
||||
$item['date'] = date('Y-m-d', $item['date']);
|
||||
$item['starting'] = date('Y-m-d', $item['starting']);
|
||||
$item['endtime'] = date('Y-m-d', $item['endtime']);
|
||||
return $item;
|
||||
});
|
||||
$lists = $query->page($page_no, $page_size)->select();
|
||||
return $this->success('成功', compact('count', 'lists', 'page_no', 'page_size'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user