优化菜单布局,新增智能体模块

This commit is contained in:
BBIT-Kai
2025-09-05 09:32:53 +08:00
parent c85bb5fa32
commit f6d5a517e9
17 changed files with 1666 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
export * from './iva';
export * from './sca';
+28
View File
@@ -0,0 +1,28 @@
import { requestClient } from '#/api/request';
/**
* 获取已分析的视频列表
*/
export async function refreshVideoList(name = '') {
return requestClient.get('/iva/getVideoList', { params: { name } });
}
/**
* 获取已分析的视频
*/
export async function refreshVideoDetail(vId = '') {
return requestClient.get('/iva/getAnalyticsDetailByVideoId', {
params: { vId },
});
}
/**
* 上传视频分析任务
*/
export async function createVideoTask(formData: FormData) {
return requestClient.post('/iva/createVideoTask', formData, {
headers: {
'Content-Type': 'multipart/form-data',
},
});
}
+19
View File
@@ -0,0 +1,19 @@
import { requestClient } from '#/api/request';
/**
* 获取已分析的图片列表
*/
export async function refreshImageList(name = '') {
return requestClient.get('/sca/getImageList', { params: { name } });
}
/**
* 上传图片分析任务
*/
export async function createImageTask(formData: FormData) {
return requestClient.post('/sca/createImageTask', formData, {
headers: {
'Content-Type': 'multipart/form-data',
},
});
}