tp5怎么实现搜索分页能保留搜索条件

1 $profit=Db::view('profit','settlement_time,money,balance_account,balance_account1,did,user')
2             ->view('dealer','company_name','dealer.id=profit.did')
3             ->where($d)
4             ->order('settlement_time','desc')
5             ->paginate(10,false,['query'=>request()->param()]);

 

posted @ 2018-01-16 13:30  原来是个帅小伙  阅读(1090)  评论(0编辑  收藏  举报