paging getList
This commit is contained in:
parent
aef313bac7
commit
7fdd950c85
2 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue