用户筛选

This commit is contained in:
2025-08-20 09:40:52 +08:00
parent 49266ffe7a
commit e7cf1dce94
+3
View File
@@ -75,6 +75,9 @@ class UserService
$k = '%' . $p['keyword'] . '%';
$config['where']['name'] = ['like', $k];
}
if (isset($p['status']) && $p['status']) {
$config['where']['status'] = $p['status'];
}
if (isset($p['user_id']) && $p['user_id']) {
$config['where']['user_id'] = $p['user_id'];
}