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

@ -15,7 +15,7 @@ class DestinationService{
List<dynamic> cats = [];
String server_url = ConstValues.currentServer();
String url = "${server_url}/api/destinations/?user_id=${user_id}";
print('++++++++${url}');
print('@@@@@@+++ destination_service GETDESTINATIONS - GET, @@@@@@ ${url}');
final http.Response response = await http.get(
Uri.parse(url),
headers: <String, String>{
@ -33,7 +33,7 @@ class DestinationService{
Map<String, dynamic> cats = {};
String server_url = ConstValues.currentServer();
String url = "${server_url}/api/delete_destination/?dest_id=${dest_id}";
print('++++++++${url}');
print('@@@@@@+++ destination_service DELETEDESTINATION - GET, @@@@@@ ${url}');
final http.Response response = await http.get(
Uri.parse(url),
headers: <String, String>{
@ -52,7 +52,7 @@ class DestinationService{
int cats = 0;
String server_url = ConstValues.currentServer();
String url = "${server_url}/api/updateorder/?user_action_id=${action_id}&order=${order}&dir=${dir}";
print('++++++++${url}');
print('@@@@@@+++ destination_service UPDATEORDER - GET, @@@@@@ ${url}');
final http.Response response = await http.get(
Uri.parse(url),
headers: <String, String>{