feat: admin资源暂时以修改时间倒序
This commit is contained in:
@@ -13,7 +13,11 @@ export class AdminResourceService {
|
||||
|
||||
|
||||
async findAll() {
|
||||
return this.resourceRepository.find();
|
||||
return this.resourceRepository.find({
|
||||
order: {
|
||||
updatedAt: 'DESC',
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async findById(id: string): Promise<Resource> {
|
||||
|
||||
Reference in New Issue
Block a user