字典分类
This commit is contained in:
@@ -50,6 +50,10 @@ class SysDictService
|
|||||||
if (isset($p['status']) && in_array($p['status'], [0,1])) {
|
if (isset($p['status']) && in_array($p['status'], [0,1])) {
|
||||||
$config['where']['status'] = $p['status'];
|
$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']) {
|
if (isset($p['keyword']) && $p['keyword']) {
|
||||||
$k = '%' . $p['keyword'] . '%';
|
$k = '%' . $p['keyword'] . '%';
|
||||||
|
|||||||
Reference in New Issue
Block a user