|
|
@@ -45,6 +45,7 @@ class UserService extends BaseService
|
|
|
public static function getWhere(array $search = []): array
|
|
|
{
|
|
|
$where = [];
|
|
|
+ $where[] = ['from', '<>', 2];
|
|
|
if (isset($search['id']) && !empty($search['id'])) {
|
|
|
$where[] = ['users.id', '=', $search['id']];
|
|
|
}
|