调整数据库表名,增加催青阶段分析演示模块

This commit is contained in:
BBIT-Kai
2026-01-04 16:06:13 +08:00
parent 209d087fa5
commit e2982b141d
16 changed files with 589 additions and 34 deletions
+1
View File
@@ -4,3 +4,4 @@ export * from './license';
export * from './sca';
export * from './sca2';
export * from './ticket';
export * from './ysa';
+25
View File
@@ -0,0 +1,25 @@
import { pyRequestClient } from '#/api/request';
/**
* 获取已分析的图片列表
*/
export async function getSilkwormCocoonAnalysisTasks(
name = '',
page = 1,
pageSize = 9,
) {
return pyRequestClient.get('/cv/getPromoteStageAnalysisTasks', {
params: { name, page, page_size: pageSize },
});
}
/**
* 上传图片分析任务
*/
export async function createSilkwormCocoonAnalysisTask(formData: FormData) {
return pyRequestClient.post('/cv/createPromoteStageAnalysisTask', formData, {
headers: {
'Content-Type': 'multipart/form-data',
},
});
}