/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { if ($result = check_auth_to('QXXX_INDEX')) { return $result; } $site = Config::get('site'); $data['authList'] = Auth::paginate($site['page_size']); return view('admin.auth.index', $data); }