26 lines
984 B
TypeScript
26 lines
984 B
TypeScript
import http from "@/api";
|
|
const BASEURL = import.meta.env.VITE_API_URL;
|
|
|
|
// 根据分组查询视频列表
|
|
export const selectProjectVideoListApi = (params: {}) => {
|
|
return http.post(BASEURL + `/xmgl/videoItem/selectProjectVideoList`, params);
|
|
};
|
|
// 根据分组查询分组视频树形列表
|
|
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);
|
|
};
|
|
|
|
// 现场视频
|
|
export const selectLiveVideoListApi = (params: {}, showLoading: boolean) => {
|
|
return http.get(BASEURL + `/xmgl/project/getProjectExtendInfo`, params, { headers: { noLoading: showLoading } });
|
|
};
|