6c74b05a by yangjianbin

init

1 parent e81c0ce0
......@@ -207,9 +207,10 @@ class Work extends CI_Controller
$draw = $_GET['draw'];
$data['recordsTotal'] = 57;
$data['recordsFiltered'] = 57;
$start = $_GET['start'] ? $_GET['start'] : 0;
$data['data'] = array();
for ($i = 0; $i < 57; $i++) {
if ($i >= ($draw - 1) && $i < $draw * 10){
if ($i >= $start && $i < $start + 10){
$arr = array(
'id' => $i,
'name' => '小明' . $i
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!