$articleslist=Db::name('articles') ->paginate(2); $this->assign('list',$list);
$articleslist=Db::name('articles') ->paginate(2,false,['query'=>request()->param()]); $this->assign('list',$list);
上一篇:PHP函数is_file()
下一篇:PHP函数strpos在字符串中查找字符出现的位置