...
|
...
|
@@ -146,6 +146,8 @@ class SystemController extends BaseController |
|
|
$count = clone $model;
|
|
|
$pagination = new Pagination(['totalCount' => $count->count()]);
|
|
|
$list = $model->offset($pagination->offset)->limit($pagination->limit)->orderBy(['create_time' => SORT_ASC])->all();
|
|
|
}else{
|
|
|
$pagination = new Pagination(['totalCount' => 0]);
|
|
|
}
|
|
|
return $this->render('statics',[
|
|
|
'list'=>$list,
|
...
|
...
|
|