$grid = new Grid(new Xsjz); if(\Auth::user()->id!==1){ //指定条件 $grid->model()->where('user_id', \Auth::user()->id)->orderBy('id', 'desc'); //指定结束 }