From 0a676af5b5f22c73effbcc18e36c8dba44416c30 Mon Sep 17 00:00:00 2001 From: weiz Date: Thu, 7 Dec 2023 18:08:36 +0800 Subject: [PATCH] fixed --- .gitignore | 3 ++- app/adminapi/listener/OperationLog.php | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1493d4502..0767e1c0f 100755 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ !/public/uploads/index.html /runtime/* !/runtime/index.html -/config/install.lock \ No newline at end of file +/config/install.lock +/public/nginx.htaccess diff --git a/app/adminapi/listener/OperationLog.php b/app/adminapi/listener/OperationLog.php index 87bb054c0..e86777c84 100755 --- a/app/adminapi/listener/OperationLog.php +++ b/app/adminapi/listener/OperationLog.php @@ -30,6 +30,10 @@ class OperationLog if (strtolower(str_replace('.', '\\', $request->controller())) === 'setting\system\log') { return; } + if (strtolower(str_replace('.', '\\', $request->controller())) === 'auth\menu') { + return; + } + //获取操作注解 $notes = '';