26 lines
954 B
TypeScript
Raw Normal View History

import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 根据分组查询视频列表
export const selectProjectVideoListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/videoItem/selectProjectVideoList`, params);
};
2024-05-18 18:06:20 +08:00
// 根据分组查询分组视频树形列表
export const selectProjectVideoGroupApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/videoItem/selectProjectVideoTreeList`, params);
};
// 查询子账号视频列表
export const selectUserVideoListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/videoItem/selectUserVideoList`, params);
};
// 查询子账号视频列表
export const getSafeHatSessionApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectApi/getSafeyHatSession`, params);
};
2024-04-17 21:57:06 +08:00
// 现场视频
export const selectLiveVideoListApi = (params: {}) => {
2024-06-05 18:31:26 +08:00
return http.get(BASEURL + `/xmgl/project/getProjectExtendInfo`, params, { headers: { noLoading: true }});
2024-04-17 21:57:06 +08:00
};