@ -95,6 +95,7 @@ class UserService
$deviceNum = $params['device_num'] ?? '';
if ($this->isBan($clientIp, $deviceNum)) {
Log::write(date('Y-m-d H:i:s') . ' account:' . $account . ' clientIp:' . $clientIp . ' deviceNum:' . $deviceNum, 'INFO', '', C('LOG_PATH')."login_ban.log");
return ['status' => false, 'message' => '设备已被禁用'];
}