tp5 paginate带参翻页

   public function outhousing(Request $request)
    {
        
        $keyword = $request->param();
            $waremanu = DbName::where("create_time",">=",$start_time)->where("create_time","<=",$end_time)->where("pet_store_id","eq",$pet_store_id)->order('id desc')->paginate(10,false,['query'=>$request->param()]);
        $this->assign('waremanu', $waremanu);
        return $this->fetch();
    }
 
{$waremanu|raw}

posted on 2020-03-25 11:07  网瘾秋千  阅读(522)  评论(0编辑  收藏  举报

导航