上游公司分页修改

master
zhengyongxing 4 years ago
parent f5e2adb860
commit a641ff2526

@ -280,6 +280,8 @@ class PartnerController extends ThinkController
// $count = $model // $count = $model
// ->where($map) // ->where($map)
// ->count(); // ->count();
$arraypage = $page;
//分页 //分页
$parameter['p'] = $page; $parameter['p'] = $page;
$parameter['row'] = $row; $parameter['row'] = $row;
@ -288,7 +290,7 @@ class PartnerController extends ThinkController
$this->assign('_page', $page); $this->assign('_page', $page);
} }
$arraypage = $page; // $arraypage = $page;
$size = $row;//每页显示的记录数 $size = $row;//每页显示的记录数
$parseData = array_slice($parseData, ($arraypage - 1) * $size, $size); $parseData = array_slice($parseData, ($arraypage - 1) * $size, $size);
// $page = set_pagination($count, $row, $parameter); // $page = set_pagination($count, $row, $parameter);

Loading…
Cancel
Save