TRX hai 1 ano
pai
achega
44471a9ee6

+ 2 - 2
OneCardIotClient/src/main/java/com/zhongshu/iot/client/model/mqtt/DeviceInfoModel.java

@@ -40,8 +40,8 @@ public class DeviceInfoModel extends SuperModel {
     private String deviceModelStr;
 
     public String getDeviceModelStr() {
-        if (deviceModel != null) {
-            return deviceModel.getRemark();
+        if (specType != null) {
+            return specType.getRemark();
         }
         return "";
     }