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());