diff --git a/app/index/controller/Index.php b/app/index/controller/Index.php index 20071c9..e7706b9 100644 --- a/app/index/controller/Index.php +++ b/app/index/controller/Index.php @@ -22,7 +22,7 @@ class Index extends BaseController $ip = $this->request->ip(); $black = BlackIp::where('ip',$ip)->find(); if (!empty($black)){ - throw new Exception(); + return view('error'); exit(); return error('您的IP已被禁止充值,如有疑问请联系管理员'); }