	Standortinformationen hinzugefügt (Wenn keine Pop ausgewählt)
	Umschaltbar Adresse/Koordinaten
	Adresse: Straße/Hausnummer/PLZ/Ort
	Huawei Backups Implementation
This commit is contained in:
Spitzer_Daniel
2023-04-06 15:53:33 +02:00
parent 214c0683e6
commit 73291d8ee0
6 changed files with 232 additions and 36 deletions

View File

@@ -9,8 +9,13 @@ class DeviceModel
public $comment = null;
public $devicetype_id = null;
public $pop_id = null;
public $addr_street = null;
public $addr_number = null;
public $addr_extended = null;
public $addr_zip = null;
public $gps_lat = null;
public $addr_city = null;
public $gps_long = null;
public $create_by = null;
public $edit_by = null;
public $create = null;
@@ -188,7 +193,7 @@ class DeviceModel
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://172.16.5.56/api/deviceconfigscreate/' . $ip ,
CURLOPT_URL => 'https://172.16.5.56/api/deviceconfigscreate/' . $ip,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,