fixed bug on display buypoints

This commit is contained in:
Mohamed Nouffer
2023-05-16 20:40:02 +05:30
parent 05a812428a
commit 1769d52601
25 changed files with 108 additions and 85 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}";
//String url = "http://localhost:8100/api/destinations/?user_id=${user_id}";
print('++++++++${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}";
//String url = "http://localhost:8100/api/delete_destination/?dest_id=${dest_id}";
print('++++++++${url}');
final http.Response response = await http.get(
Uri.parse(url),
headers: <String, String>{
@ -52,8 +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 is ${url} -----");
//String url = "http://localhost:8100/api/updateorder/?user_action_id=${action_id}&order=${order}&dir=${dir}";
print('++++++++${url}');
final http.Response response = await http.get(
Uri.parse(url),
headers: <String, String>{