feat: 完成文章筛选接口

This commit is contained in:
ilhamtahir committed 2024-11-20 16:07:17 +08:00
1 parent db11c729ec
commit dd1cc2e3d7
7 files changed
+57 -11

No files matched your search

+9
View File
@@ -64,4 +64,13 @@ export class CategoryService {
}
await this.categoryRepository.remove(category);
}
async list() {
return this.categoryRepository.find({
loadEagerRelations: false,
order: {
order: 'ASC',
},
});
}
}