From fbc4a6201a3fce89a0e4c87c7e25e07b60163394 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Thu, 30 Apr 2020 18:15:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/permissions/OperateLogEvent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/catch/permissions/OperateLogEvent.php b/catch/permissions/OperateLogEvent.php index 6a5b724..458103c 100644 --- a/catch/permissions/OperateLogEvent.php +++ b/catch/permissions/OperateLogEvent.php @@ -17,6 +17,7 @@ class OperateLogEvent $requestParams = request()->param(); + // 如果参数过长则不记录 if (!empty($requestParams)) { if (strlen(\json_encode($requestParams)) > 1000) { $requestParams = [];