From d5e70298bc1a57593b151d7692283ba1b6dd0214 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 6 Jan 2025 17:18:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(SystemStoreStorage):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=8D=E8=AE=B0=E5=BD=95=E6=97=A5=E5=BF=97=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 SystemStoreStorage 模型中添加 doNotRecordLog 属性,设置为 true,以禁用该表的日志记录功能。 --- app/common/model/system_store_storage/SystemStoreStorage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/model/system_store_storage/SystemStoreStorage.php b/app/common/model/system_store_storage/SystemStoreStorage.php index 0aa7c363a..42d6ed0a7 100644 --- a/app/common/model/system_store_storage/SystemStoreStorage.php +++ b/app/common/model/system_store_storage/SystemStoreStorage.php @@ -17,6 +17,7 @@ class SystemStoreStorage extends BaseModel use SoftDelete; protected $name = 'system_store_storage'; protected $deleteTime = 'delete_time'; - + // 不生成该表的日志 + public $doNotRecordLog = true; } \ No newline at end of file