From bdf9cd25317dda878d79f781e0a64960ae6ef98f Mon Sep 17 00:00:00 2001 From: "Mr.Wang" Date: Wed, 22 May 2024 11:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8B=E4=BB=B6=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E6=8E=A5=E5=8F=A3=E4=B8=AD=E7=9A=84=E6=9C=AA=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E5=88=B0=E6=A8=A1=E6=9D=BF=E5=AD=98=E5=82=A8=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zc/business/service/impl/DcEmergencyPlansServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java index be0eef2b..8fb9bc13 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEmergencyPlansServiceImpl.java @@ -862,7 +862,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { // 说明没有匹配到设备 JSONObject errorResult = new JSONObject(); errorResult.put("device",device.getId()); - errorResult.put("errorMessage","未匹配到对应的模板内容"); + errorResult.put("content","未匹配到对应的模板内容"); resultArray.add(errorResult); }else { JSONObject jsonObject = new JSONObject(); @@ -892,7 +892,7 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { JSONObject errorResult = new JSONObject(); errorResult.put("device",device.getId()); errorResult.put("deviceName",device.getDeviceName()); - errorResult.put("errorMessage","未匹配到对应的广播内容"); + errorResult.put("content","未匹配到对应的广播内容"); resultArray.add(errorResult); } if (StringUtils.isEmpty(foundContent.getString("content"))) {