Browse Source

更新!

TRX 1 năm trước cách đây
mục cha
commit
1443e20d1b

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

@@ -486,7 +486,7 @@ public class DeviceInfoService {
             BeanUtils.copyProperties(_model, deviceInfoModel);
 
             // 连接账号信息
-            ResultContent<GateWayUserInfoModel> resultContent = gateWayUserInfoService.updateBindNumber(deviceInfo.getMqttUserName());
+            ResultContent<GateWayUserInfoModel> resultContent = gateWayUserInfoService.getUserByUserName(deviceInfo.getMqttUserName());
             if (resultContent.isSuccess()) {
                 GateWayUserInfoModel gateWayUserInfoModel = resultContent.getContent();
                 if (ObjectUtils.isNotEmpty(gateWayUserInfoModel)) {