求助分页问题

浏览:398 发布日期:2016/12/19 分类:ThinkPHP5专区
可以这样写么?求解决方案$sql = "select * from ihuo_article_category c,ihuo_article a where  c.id = a.cat_id";

 $data = Db::query($sql)->paginate(30);

  $page = $data->render();
最佳答案
评论( 相关
后面还有条评论,点击查看>>