fix: 修复排序失效的bug

This commit is contained in:
xiaojunnuo
2024-10-14 14:00:24 +08:00
parent cf92db7ed1
commit 1f0742ef9f
5 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ export class AccessController extends CrudController<AccessService> {
const res = await this.service.page({
query: body.query,
page: body.page,
order: body.order,
sort: body.sort,
buildQuery,
});
return this.ok(res);