Update VideoGroup structure

This commit is contained in:
2025-05-21 12:41:42 +02:00
parent 27f596ed8f
commit 28ebf7f300
5 changed files with 87 additions and 31 deletions

View File

@@ -23,5 +23,11 @@ export const KsVideoGroupService = {
getVideoGroupById(id) {
return axios.get(`/fe-api/video-group/${id}`);
},
getVideoCountByGroup(groupIds) {
return axios.get('/fe-api/ksvideos/video-count', {
params: { groupIds }
});
}
};