|
|
@ -169,7 +169,23 @@ export default class RequestSet { |
|
|
|
httpPost(str, api.registerDeviceAll).then(res => { |
|
|
|
callback(res) |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} else if(data.manufactureId == 1241){ |
|
|
|
let str = { |
|
|
|
data: { |
|
|
|
deviceNum: data.deviceNum, |
|
|
|
imei:data.imei, |
|
|
|
order: 5101, |
|
|
|
platformId: data.platformId, |
|
|
|
manufactureId: data.manufactureId, |
|
|
|
}, |
|
|
|
code: "/lwj/registerDevice", |
|
|
|
enterpriseId: data.enterpriseId, |
|
|
|
key: data.deviceNum |
|
|
|
} |
|
|
|
httpPost(str, api.sendCommand).then(res => { |
|
|
|
callback(res) |
|
|
|
}); |
|
|
|
} else { |
|
|
|
var str = { |
|
|
|
data: { |
|
|
|
deviceNum: data.deviceNum, |
|
|
|