ThinkPHP5.0.10 的分页render是没做输入页数跳转的,这里我阐述一下我的分页跳转实现方法
操作文件路径:thinkphp/library/think/paginator/driver/Bootstrap.php,找到render()方法,simple那种情况不考虑,在下面一种展现方式上加上定向跳转生成的方法:
public function render()
{
if ($this->hasPages()) {
if ($this->simple) {
return sprintf(
'<ul class="pager">%s %s</ul>',
$this->getPreviousButton(),
$this->