feat: 录播图列表接口

This commit is contained in:
ilhamtahir committed 2024-11-20 15:35:11 +08:00
1 parent 398a09ad83
commit efab650808
3 files changed
+21 -1

No files matched your search

+9
View File
@@ -65,4 +65,13 @@ export class CarousalService {
const carousal = await this.get(id);
return this.carousalRepository.remove(carousal);
}
async activeList() {
return this.carousalRepository.find({
where: {
status: CarousalStatus.ACTIVE,
},
order: { createdTime: 'DESC' },
});
}
}