feat: 完成文章筛选接口
This commit is contained in:
1 parent
db11c729ec
commit
dd1cc2e3d7
7 files changed
+57
-11
No files matched your search
@@ -64,4 +64,13 @@ export class CategoryService {
|
||||
}
|
||||
await this.categoryRepository.remove(category);
|
||||
}
|
||||
|
||||
async list() {
|
||||
return this.categoryRepository.find({
|
||||
loadEagerRelations: false,
|
||||
order: {
|
||||
order: 'ASC',
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user