pull/1/head
wanghousheng 12 months ago
parent 3a1ef25c24
commit 1587872bff
  1. 2
      app/api/controller/Server.php

@ -58,7 +58,7 @@ class Server extends Controller
}
$where[] = ['server.status', '=', 1];
$model = new \app\api\model\Server();
$list = $model->getList($where, $order_field, $order_sort);
$list = $model->getList($where, 15, $order_field, $order_sort);
$data['list'] = $list->items();
$data['total'] = $list->total();
if (!$list->isEmpty()) {

Loading…
Cancel
Save