Browse Source

分析验证

develop
wangsixiang 4 months ago
parent
commit
f52d11d52c
  1. 2
      zc-business/src/main/java/com/zc/business/controller/DcDeviceController.java

2
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);//取出属性全部信息 AjaxResult ajaxResult = queryDeviceProperties(deviceId, propertyId, props);//取出属性全部信息
String code = ajaxResult.get("code").toString(); String code = ajaxResult.get("code").toString();
if ("500".equals(code)) { if ("500".equals(code)) {
return ajaxResult; return AjaxResult.success(ajaxResult.get("msg"));
} }
if (UniversalEnum.THIRTEEN.getValue().equals(type) || UniversalEnum.SIXTEEN.getValue().equals(type)) { //判断是否为设备箱/远端机 if (UniversalEnum.THIRTEEN.getValue().equals(type) || UniversalEnum.SIXTEEN.getValue().equals(type)) { //判断是否为设备箱/远端机
JSONObject data = (JSONObject) ajaxResult.get("data"); JSONObject data = (JSONObject) ajaxResult.get("data");

Loading…
Cancel
Save