fix: ROI 创建时 deviceId 默认值改为 edge,与边缘端一致
原值 edge-001 与 Edge 端 EDGE_DEVICE_ID=edge 不匹配,导致 Redis Stream 事件被 Edge 过滤跳过,配置推送无法到达边缘端。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -187,7 +187,7 @@ async function onRoiDrawn(data: { coordinates: string; roi_type: string }) {
|
||||
priority: 0,
|
||||
enabled: 1,
|
||||
description: '',
|
||||
deviceId: 'edge-001', // 默认关联边缘设备
|
||||
deviceId: 'edge', // 默认关联边缘设备
|
||||
};
|
||||
try {
|
||||
await saveRoi(newRoi);
|
||||
|
||||
Reference in New Issue
Block a user