function getRentInfo(Request $request, User $user)
 {
     if (!($user->auth & \Config::get('admin.adminRent'))) {
         return response(view('errors.error', ['title' => '权限不足', 'error' => '您没有管理借车信息的权限!']), 403);
     }
     $id = $request->input('id');
     if ($id == null) {
         $data = Rent::orderBy('id', 'DESC')->paginate(20);
     } else {
         $data = Rent::where('id', '=', $id)->paginate(20);
     }
     return view('admin.rentInfo')->withRent($data)->withUser($this->user);
 }