changed ext.service urls
This commit is contained in:
@ -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;
|
||||
// }
|
||||
|
||||
});
|
||||
// });
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
@ -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<Map<String, dynamic>> makeCheckpoint(int user_id, String token, String checkin_time, String teamname, int cp, String eventcode, String imageurl) async {
|
||||
Map<String, dynamic> _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<IndexController>();
|
||||
|
||||
@ -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<String, dynamic> _res = json.decode(utf8.decode(response.bodyBytes));
|
||||
@ -264,7 +264,7 @@ class ExternalService {
|
||||
|
||||
static Future<Map<String, dynamic>> usersEventCode(String teamcode, String password) async {
|
||||
Map<String, dynamic> _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),
|
||||
|
||||
Reference in New Issue
Block a user