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