日志分页

master
sunke 5 years ago
parent 0cb7a40ea9
commit b47eced096

@ -68,7 +68,6 @@ class PlayersController extends BaseController {
} }
$page = intval(I('get.p', 1)); $page = intval(I('get.p', 1));
$page = $page ? $page : 1; //默认显示第一页数据arraypage $page = $page ? $page : 1; //默认显示第一页数据arraypage
$row=10;
$rs = M('pay_info','tab_')->where($map)->order('tab_pay_info.create_time desc') $rs = M('pay_info','tab_')->where($map)->order('tab_pay_info.create_time desc')
->page($page, $row)->select(); ->page($page, $row)->select();
foreach($rs as $key => $v) { foreach($rs as $key => $v) {

Loading…
Cancel
Save