新增: 算法全局参数配置页面 + ROI 编辑器显示全局默认提示

This commit is contained in:
2026-04-09 17:09:58 +08:00
parent a82ccbd145
commit 6eea4e81cd
4 changed files with 494 additions and 5 deletions

View File

@@ -86,6 +86,7 @@ export namespace AiotDeviceApi {
description?: string;
isActive?: boolean;
paramSchema?: string;
globalParams?: string;
}
/** 媒体服务器 */
@@ -237,6 +238,14 @@ export function getAlgorithmList() {
);
}
/** 保存算法全局参数 */
export function saveAlgoGlobalParams(algoCode: string, globalParams: string) {
return wvpRequestClient.post(
`/aiot/device/algorithm/global-params/${algoCode}`,
{ globalParams },
);
}
// ==================== 算法绑定 ====================
/** 绑定算法到 ROI */