From b0a91e301e3301999f39783bbcdb60dfa8f7a5ce Mon Sep 17 00:00:00 2001 From: Mohamed Nouffer Date: Fri, 14 Jul 2023 19:43:46 +0530 Subject: [PATCH] changed ext.service urls --- .../destination/destination_controller.dart | 24 +++++++++---------- lib/services/external_service.dart | 8 +++---- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/pages/destination/destination_controller.dart b/lib/pages/destination/destination_controller.dart index f3155b5..20c37c3 100644 --- a/lib/pages/destination/destination_controller.dart +++ b/lib/pages/destination/destination_controller.dart @@ -754,20 +754,20 @@ class DestinationController extends GetxController { print("------ destination controller destinationcount-------- ${destinationCount}-------- :::::"); - MatrixService.getDestinations(value).then((mat){ - print(" matrix is ------- ${mat}"); - matrix = mat; + // MatrixService.getDestinations(value).then((mat){ + // print(" matrix is ------- ${mat}"); + // matrix = mat; - try{ - getRoutePoints(); - destinationCount.value = destinations.length; - } - catch(_){ - skip_gps = false; - return; - } + // try{ + // getRoutePoints(); + // destinationCount.value = destinations.length; + // } + // catch(_){ + // skip_gps = false; + // return; + // } - }); + // }); }); } diff --git a/lib/services/external_service.dart b/lib/services/external_service.dart index cabda6b..fdb99af 100644 --- a/lib/services/external_service.dart +++ b/lib/services/external_service.dart @@ -56,7 +56,7 @@ class ExternalService { db.insertRogaining(_rog); } else { - String url = 'https://natnats.mobilous.com/start_from_rogapp'; + String url = 'https://rogaining.sumasen.net/gifuroge/start_from_rogapp'; print('++++++++${url}'); final http.Response response = await http.post( Uri.parse(url), @@ -81,7 +81,7 @@ class ExternalService { Future> makeCheckpoint(int user_id, String token, String checkin_time, String teamname, int cp, String eventcode, String imageurl) async { Map _res = {}; - String url = 'https://natnats.mobilous.com/checkin_from_rogapp'; + String url = 'https://rogaining.sumasen.net/gifuroge/checkin_from_rogapp'; print('++++++++${url}'); final IndexController indexController = Get.find(); @@ -232,7 +232,7 @@ class ExternalService { }), ); - String url = 'https://natnats.mobilous.com/goal_from_rogapp'; + String url = 'https://rogaining.sumasen.net/gifuroge/goal_from_rogapp'; print('++++++++${url}'); if (response.statusCode == 201) { Map _res = json.decode(utf8.decode(response.bodyBytes)); @@ -264,7 +264,7 @@ class ExternalService { static Future> usersEventCode(String teamcode, String password) async { Map _res = {}; - String url = "https://natnats.mobilous.com/check_event_code?zekken_number=${teamcode}&password=${password}"; + String url = "https://rogaining.sumasen.net/gifuroge/check_event_code?zekken_number=${teamcode}&password=${password}"; print('++++++++${url}'); final http.Response response = await http.get( Uri.parse(url),