start minimal

This commit is contained in:
Mohamed Nouffer
2023-06-02 10:50:56 +05:30
parent 08332d45d4
commit a358f65853
54 changed files with 467 additions and 1327 deletions

View File

@ -61,7 +61,7 @@ class LocationService{
url = '${server_url}/api/inperf/?perf=' + perfecture;
}
}
print('++++++++${url}');
print('@@@@@@+++ location_service LOADLOCATIONFOR - GET, @@@@@@ ${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -80,7 +80,7 @@ class LocationService{
List<dynamic> ext = [];
String server_url = ConstValues.currentServer();
String url = '${server_url}/api/locsext/';
print('++++++++${url}');
print('@@@@@@+++ location_service GETLOCATIONEXT - POST, with token : ${token} @@@@@@ ${url}');
final response = await http.post(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -125,7 +125,7 @@ class LocationService{
url = '${server_url}/api/insubperf?subperf=' + subperfecture;
}
}
print('++++++++${url}');
print('@@@@@@+++ location_service LOADLOCATIONSUBFOR - GET, @@@@@@ ${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -169,7 +169,7 @@ class LocationService{
url = '${server_url}/api/inbound?ln1=${lon1}&la1=${lat1}&ln2=${lon2}&la2=${lat2}&ln3=${lon3}&la3=${lat3}&ln4=${lon4}&la4=${lat4}';
}
}
print('++++++++${url}');
print('@@@@@@+++ location_service LOADLOCATIONSBOUNDS - GET, @@@@@@ ${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',
@ -224,7 +224,7 @@ class LocationService{
url = '${server_url}/api/customarea?name=${name}';
}
}
print('++++++++${url}');
print('@@@@@@+++ location_service LOADCUSTOMLOCATIONS - GET, @@@@@@ ${url}');
final response = await http.get(Uri.parse(url),
headers: <String, String>{
'Content-Type': 'application/json; charset=UTF-8',