paging getList

This commit is contained in:
Bright 2024-05-30 15:24:38 +07:00
parent aef313bac7
commit 7fdd950c85
2 changed files with 6 additions and 5 deletions

View file

@ -198,8 +198,8 @@ export class KeycloakController extends Controller {
}
@Get("user")
async getUserList(@Query() search = "") {
const result = await getUserList(search);
async getUserList(@Query() first = "", @Query() max = "" ,@Query() search = "") {
const result = await getUserList(first, max, search);
if (Array.isArray(result)) {
return result;