Create videos frontend

This commit is contained in:
2025-05-07 15:39:03 +02:00
parent 6ad1f7ceab
commit cd47c493ed
12 changed files with 1417 additions and 16 deletions

View File

@@ -0,0 +1,15 @@
import axios from 'axios';
export const KsVideoService = {
getKsVideos() {
return axios.get('/fe-api/ksvideos');
},
getKsVideosByGroupId(groupId) {
return axios.get(`/fe-api/ksvideos/group/${groupId}`);
},
downloadKsVideo(video) {
return axios.get(`/fe-api/ksvideos/downloadKSVideo`, video, {responseType: 'blob', });
}
};