From f52d11d52caab243d515ff42ca401c023861bcc5 Mon Sep 17 00:00:00 2001 From: wangsixiang <2970484253@qq.com> Date: Tue, 30 Jul 2024 14:44:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=9E=90=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/zc/business/controller/DcDeviceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java b/zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java index 07d5677d..07a7f821 100644 --- a/zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java +++ b/zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java @@ -994,7 +994,7 @@ public class DcDeviceController extends BaseController { AjaxResult ajaxResult = queryDeviceProperties(deviceId, propertyId, props);//取出属性全部信息 String code = ajaxResult.get("code").toString(); if ("500".equals(code)) { - return ajaxResult; + return AjaxResult.success(ajaxResult.get("msg")); } if (UniversalEnum.THIRTEEN.getValue().equals(type) || UniversalEnum.SIXTEEN.getValue().equals(type)) { //判断是否为设备箱/远端机 JSONObject data = (JSONObject) ajaxResult.get("data");