feat: 录播图列表接口
This commit is contained in:
1 parent
398a09ad83
commit
efab650808
3 files changed
+21
-1
No files matched your search
@@ -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' },
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user