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