From 97f3965e28dba2dfe7b664583c1ec093a0ee19f9 Mon Sep 17 00:00:00 2001 From: hdm Date: Mon, 28 Mar 2022 16:24:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/home/controller/Log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/home/controller/Log.php b/app/home/controller/Log.php index 12ce6a1..561fa40 100644 --- a/app/home/controller/Log.php +++ b/app/home/controller/Log.php @@ -25,7 +25,7 @@ class Log extends BaseController $where[] = ['name|rule_menu|param_id', 'like', '%' . $param['keywords'] . '%']; } if (!empty($param['action'])) { - $where['action'] = $param['action']; + $where[] = ['title','=',$param['action']]; } $rows = empty($param['limit']) ? get_config('app . page_size') : $param['limit']; $content = DB::name('AdminLog')