|
@@ -442,6 +442,7 @@ class KMMemberCenterManager: NSObject {
|
|
var uniqueSn = ""
|
|
var uniqueSn = ""
|
|
var deviceName = ""
|
|
var deviceName = ""
|
|
var id = ""
|
|
var id = ""
|
|
|
|
+ var model = ""
|
|
|
|
|
|
if let token = dict["device_id"] {
|
|
if let token = dict["device_id"] {
|
|
device_id = token as? String ?? ""
|
|
device_id = token as? String ?? ""
|
|
@@ -456,11 +457,15 @@ class KMMemberCenterManager: NSObject {
|
|
deviceName = token as? String ?? ""
|
|
deviceName = token as? String ?? ""
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if let token = dict["model"] {
|
|
|
|
+ model = token as? String ?? ""
|
|
|
|
+ }
|
|
|
|
+
|
|
if let token = dict["id"] {
|
|
if let token = dict["id"] {
|
|
id = token as? String ?? ""
|
|
id = token as? String ?? ""
|
|
}
|
|
}
|
|
|
|
|
|
- let list = KMMemberDeviceList(deviceId: device_id, productId: productId, uniqueSn: uniqueSn, appId: "", deviceName: deviceName)
|
|
|
|
|
|
+ let list = KMMemberDeviceList(deviceId: device_id, productId: productId, uniqueSn: uniqueSn, appId: "", device_model:model, deviceName: deviceName)
|
|
list.id = id
|
|
list.id = id
|
|
deviceLists.append(list)
|
|
deviceLists.append(list)
|
|
}
|
|
}
|