修复ip判断

new_dev
GeekQu 7 years ago
parent b4f7bf6e55
commit 08eefe35e6
No known key found for this signature in database
GPG Key ID: F0EEABFCD04A5891

@ -302,7 +302,7 @@ class Job
$ips[$alive_ip->ip] = 1;
if ($user->node_connector < count($ips)) {
//暂时封禁
$isDisconnect = Disconnect::where('id', '=', $alive_ip->ip)->where(
$isDisconnect = Disconnect::where('ip', '=', $alive_ip->ip)->where(
'userid',
'=',
$user->id

Loading…
Cancel
Save