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')