优化列表显示

master
chenzhi 3 years ago
parent ef8444bcba
commit 4224bfba94

@ -74,7 +74,7 @@ class WxPaymentController extends BaseController
$data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']); $data[$key]['create_time'] = date('Y-m-d H:i:s',$value['create_time']);
} }
$count = M('mini_program_user', 'tab_')->where($where)->count(); $count = M('mini_program_user', 'tab_')->where($where)->count();
$page = set_pagination_all($count['count'], $row); $page = set_pagination_all($count, $row);
if ($page) { if ($page) {
$this->assign('_page', $page); $this->assign('_page', $page);
} }

Loading…
Cancel
Save