优化搜索查询构造逻辑

This commit is contained in:
2023-12-11 16:13:24 +08:00
parent bb2e485713
commit 1c6f2aa96b
2 changed files with 35 additions and 24 deletions

View File

@@ -272,10 +272,6 @@ class AdminControllerBase extends BaseController
continue;
}
if ($val === '') {
continue;
}
$op = isset($ops[$key]) && !empty($ops[$key]) ? $ops[$key] : '%*%';
if (strpos($key, '[') === 0) {