From efc8495ab5fbc1f5f19870dd34b9106076fd5ac9 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Thu, 12 May 2022 17:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/UserService.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Application/Base/Service/UserService.class.php b/Application/Base/Service/UserService.class.php index 8a3680a3..849145dd 100644 --- a/Application/Base/Service/UserService.class.php +++ b/Application/Base/Service/UserService.class.php @@ -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' => '设备已被禁用']; }