From 89b11374bf712a5c97918671cff6b46547822e6a Mon Sep 17 00:00:00 2001 From: Anyon Date: Sat, 19 Sep 2020 18:13:16 +0800 Subject: [PATCH] Update sys.php --- app/admin/sys.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/sys.php b/app/admin/sys.php index c84f61d4a..7aac17e1b 100644 --- a/app/admin/sys.php +++ b/app/admin/sys.php @@ -30,7 +30,7 @@ app()->db->listen(function ($sqlstr) { if (stripos($matches[1] = Str::studly($matches[1]), 'SystemOplog') === false) { $matches[3] = substr(str_replace(['`', ' '], '', $matches[3]), 0, 200); $matches[2] = substr(str_replace(['`', ' '], '', $matches[2]), 0, 200); - return sysoplog("更新数据 {$matches[1]}( {$matches[3]} )", "更新数据:{$matches[2]}"); + return sysoplog("更新数据 {$matches[1]}( {$matches[3]} )", "更新内容:{$matches[2]}"); } } elseif (preg_match('/^DELETE\s*FROM\s*`(.*?)`\s*WHERE\s*(.*?)\s*$/i', $sqlstr, $matches)) { if (stripos($matches[1] = Str::studly($matches[1]), 'SystemOplog') === false) {