From fcca45005fcf1abf3d5cf4ffc28b81096048046f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=A0=E7=9A=84=E5=90=8D=E5=AD=97?= Date: Thu, 23 Oct 2025 10:08:05 +0800 Subject: [PATCH] 1 --- app/index/controller/Index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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已被禁止充值,如有疑问请联系管理员'); }