|
@@ -121,7 +121,7 @@ use think\Validate;
|
|
$ip = request()->ip();
|
|
$ip = request()->ip();
|
|
$count = Db::name('ip')->where(['ip' => $ip])->count();
|
|
$count = Db::name('ip')->where(['ip' => $ip])->count();
|
|
if (!$count) {
|
|
if (!$count) {
|
|
- $this->error(__('You have no permission') . $ip, '');
|
|
|
|
|
|
+ //$this->error(__('You have no permission') . $ip, '');
|
|
}
|
|
}
|
|
|
|
|
|
$modulename = $this->request->module();
|
|
$modulename = $this->request->module();
|