入参搜索

This commit is contained in:
2025-10-24 16:32:23 +08:00
parent 24b3ef4415
commit cd6c4b425d
+1 -1
View File
@@ -61,7 +61,7 @@ class SysOpLogService
// 关键字
if (isset($p['keyword']) && $p['keyword']) {
$k = '%' . $p['keyword'] . '%';
foreach (['user_name', 'route'] as $col) {
foreach (['user_name', 'route', 'params_brief'] as $col) {
$config['orWhere'][] = [$col, 'like', $k];
}
}