TRX 1 年間 前
コミット
701fc50ac1

+ 1 - 2
OneCardIotServer/src/main/java/com/zhongshu/iot/server/core/service/device/DeviceInfoService.java

@@ -484,9 +484,8 @@ public class DeviceInfoService {
         if (ObjectUtils.isNotEmpty(deviceInfo)) {
             DeviceInfoModel _model = toModel(deviceInfo);
             BeanUtils.copyProperties(_model, deviceInfoModel);
-            // 所属产品信息
-            deviceInfoModel.setIotTemplate(iotService.toSimpleModel(deviceInfo.getProductCode()));
 
+            // 连接账号信息
             ResultContent<GateWayUserInfoModel> resultContent = gateWayUserInfoService.updateBindNumber(deviceInfo.getMqttUserName());
             if (resultContent.isSuccess()) {
                 GateWayUserInfoModel gateWayUserInfoModel = resultContent.getContent();