From fb8cf8ae5d80cb2f5578465b1af04b3b78f2f32f Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Sat, 14 Feb 2026 13:41:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(aiot):=20=E4=BF=AE=E5=A4=8D=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF=20-=20=E4=BD=BF=E7=94=A8getGbName()?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3getName()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit StreamProxy继承自CommonGBChannel,名称字段是gbName而非name Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --- .../iot/vmp/aiot/service/impl/AiConfigServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/aiot/service/impl/AiConfigServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/aiot/service/impl/AiConfigServiceImpl.java index 15b68dc49..293ef7306 100644 --- a/src/main/java/com/genersoft/iot/vmp/aiot/service/impl/AiConfigServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/aiot/service/impl/AiConfigServiceImpl.java @@ -230,7 +230,7 @@ public class AiConfigServiceImpl implements IAiConfigService { camOut.put("camera_id", cameraId); camOut.put("enabled", true); camOut.put("rtsp_url", proxy.getSrcUrl()); - camOut.put("camera_name", proxy.getName() != null ? proxy.getName() : cameraId); + camOut.put("camera_name", proxy.getGbName() != null ? proxy.getGbName() : cameraId); cameraList.add(camOut); validCameraIds.add(cameraId); log.debug("[AiConfig] 添加摄像头: cameraCode={}, srcUrl={}", cameraId, proxy.getSrcUrl());