phper8
1 $page = $this->get(\'page\');
2 $limit = $this->get(\'limit\');
3 $arr = array_chunk($data,$limit)[$page-1];

 

分类:

技术点:

相关文章: