no message

This commit is contained in:
Pang
2023-07-28 08:32:09 +08:00
parent 1ea764c860
commit fe4ab6e9d5
4 changed files with 27 additions and 4 deletions

View File

@@ -747,8 +747,7 @@ class UsersController extends AbstractController
$builder->whereNull('disable_at');
$builder->where('bot', 0);
}
$builder = $keys['department'] == '0' ? $builder->orderByDesc('userid') : $builder;
$list = $builder->paginate(Base::getPaginate(50, 20));
$list = $builder->orderByDesc('userid')->paginate(Base::getPaginate(50, 20));
//
if ($getCheckinMac) {
$list->transform(function (User $user) use ($getCheckinMac) {