|
@@ -4006,12 +4006,12 @@ class Lampcontrol extends Base_Controller {
|
|
|
"network_id" => $res["networkid"],
|
|
|
'status' => $res['status'],
|
|
|
'batterytype' => $res['batterytype'],
|
|
|
- 'devicetype' => $res['devicetype'],
|
|
|
- 'protocoltype'=>$res['protocoltype'],
|
|
|
+ 'devicetype' => intval($res['devicetype']),
|
|
|
+ 'protocoltype'=>intval($res['protocoltype']),
|
|
|
"simid" => empty($res["simid"]) ? '' : $res["simid"],
|
|
|
"packageSurplus" => $res["packageSurplus"],
|
|
|
"updatetime" => $res["updatetime"],
|
|
|
- "lampprotocoltype" => $res['lampprotocoltype'],
|
|
|
+ "lampprotocoltype" => intval($res['lampprotocoltype']),
|
|
|
'loadtype' => $res['loadtype']
|
|
|
);
|
|
|
$msisdn = $this->db->query('select iccid from msisdn where imsi = "'.$res['simid'].'"')->row_array();
|