|
@ -62,6 +62,7 @@ class UserController extends SiteController { |
|
|
try { |
|
|
try { |
|
|
res.locals.pagination = this.getPaginationParameters(req, 10); |
|
|
res.locals.pagination = this.getPaginationParameters(req, 10); |
|
|
res.locals.userAccounts = await userService.getUserAccounts(res.locals.pagination, req.query.u); |
|
|
res.locals.userAccounts = await userService.getUserAccounts(res.locals.pagination, req.query.u); |
|
|
|
|
|
res.locals.totalUserCount = await userService.getTotalCount(); |
|
|
res.render('admin/user/index'); |
|
|
res.render('admin/user/index'); |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
return next(error); |
|
|
return next(error); |
|
|