字典分类

This commit is contained in:
2025-09-02 13:59:48 +08:00
parent 223b952742
commit c1fb484e24
+4
View File
@@ -50,6 +50,10 @@ class SysDictService
if (isset($p['status']) && in_array($p['status'], [0,1])) {
$config['where']['status'] = $p['status'];
}
// 分类筛选
if (isset($p['category_id']) && !empty($p['category_id'])) {
$config['where']['category_id'] = $p['category_id'];
}
// 关键字
if (isset($p['keyword']) && $p['keyword']) {
$k = '%' . $p['keyword'] . '%';