1
This commit is contained in:
@ -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已被禁止充值,如有疑问请联系管理员');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user