thinkphp5 使用超好用paginate實現ajax分頁

1.首頁在控制也獲取分頁參數 $p = input("p/d",'0'); $list = db('Comment')->paginate(config('paginate.list_rows'),$count,['page'=>$p,'path'=>"javascript:void(0);"]); $this->assign('commentlist',$list);// 商品評論 return
相關文章
相關標籤/搜索