Update: 2026-06-13 01:32:15

This commit is contained in:
Hamza-Ayed
2026-06-13 01:32:15 +03:00
parent cb1b2d01df
commit bfc530b013
4 changed files with 37 additions and 53 deletions

View File

@@ -17,21 +17,23 @@ class AppLink {
static const String appDomain = 'siromove.com';
static String get locationServer {
static String get location {
switch (currentCountry) {
case 'Syria': return 'https://location-syria.siromove.com/siro/ride/location';
case 'Egypt': return 'https://location-egypt.siromove.com/siro/ride/location';
case 'Jordan':
default: return 'https://location.siromove.com/siro/ride/location';
case 'Syria': return 'https://api-syria.siromove.com/siro_v3/ride/location';
case 'Egypt': return 'https://api-egypt.siromove.com/siro_v3/ride/location';
case 'Jordan': return 'https://api-jordan.siromove.com/siro_v3/ride/location';
default: return 'https://api.siromove.com/siro_v3/ride/location';
}
}
static String get locationServer => locationServerSide;
static String get locationServerSide {
switch (currentCountry) {
case 'Syria': return 'https://location-syria.siromove.com/siro/ride/location';
case 'Egypt': return 'https://location-egypt.siromove.com/siro/ride/location';
case 'Jordan':
default: return 'https://location.siromove.com/siro/ride/location';
default: return 'https://location-jordan.siromove.com/siro/ride/location';
}
}
@@ -83,7 +85,14 @@ class AppLink {
///=================ride==========================///
///https://api.intaleq.xyz/siro/ride
static String get ride => '$server/ride';
static String get rideServer => 'https://rides.intaleq.xyz/siro/ride';
static String get rideServer {
switch (currentCountry) {
case 'Syria': return 'https://ride-syria.siromove.com/siro/ride';
case 'Egypt': return 'https://ride-egypt.siromove.com/siro/ride';
case 'Jordan':
default: return 'https://ride-jordan.siromove.com/siro/ride';
}
}
///mapOSM = 'https://routesy.intaleq.xyz'
static String get mapOSM {
@@ -393,33 +402,33 @@ class AppLink {
//==================certifcate==========
// static String location = '$endPoint/ride/location';
static String get getCarsLocationByPassenger => "$locationServer/get.php";
static String get getCarsLocationByPassenger => "$location/get.php";
static String get addpassengerLocation =>
"$locationServer/addpassengerLocation.php";
"$locationServerSide/addpassengerLocation.php";
static String get getLocationAreaLinks =>
"$locationServer/get_location_area_links.php";
"$location/get_location_area_links.php";
static String get getLatestLocationPassenger =>
"$locationServer/getLatestLocationPassenger.php";
"$location/getLatestLocationPassenger.php";
static String get getFemalDriverLocationByPassenger =>
"$locationServer/getFemalDriver.php";
"$location/getFemalDriver.php";
static String get getDriverCarsLocationToPassengerAfterApplied =>
"$locationServer/getDriverCarsLocationToPassengerAfterApplied.php";
static String get addCarsLocationByPassenger => "$locationServer/add.php";
static String get saveBehavior => "$locationServer/save_behavior.php";
static String get addCarsLocationGizaEndpoint => "$locationServer/add.php";
"$location/getDriverCarsLocationToPassengerAfterApplied.php";
static String get addCarsLocationByPassenger => "$locationServerSide/add.php";
static String get saveBehavior => "$locationServerSide/save_behavior.php";
static String get addCarsLocationGizaEndpoint => "$locationServerSide/add.php";
static String get addCarsLocationAlexandriaEndpoint =>
"$locationServer/add.php";
static String get addCarsLocationCairoEndpoint => "$locationServer/add.php";
"$locationServerSide/add.php";
static String get addCarsLocationCairoEndpoint => "$locationServerSide/add.php";
static String get deleteCarsLocationByPassenger =>
"$locationServer/delete.php";
"$locationServerSide/delete.php";
static String get updateCarsLocationByPassenger =>
"$locationServer/update.php";
"$locationServerSide/update.php";
static String get getTotalDriverDuration =>
"$locationServer/getTotalDriverDuration.php";
"$location/getTotalDriverDuration.php";
static String get getRidesDriverByDay =>
"$locationServer/getRidesDriverByDay.php";
"$location/getRidesDriverByDay.php";
static String get getTotalDriverDurationToday =>
"$locationServer/getTotalDriverDurationToday.php";
"$location/getTotalDriverDurationToday.php";
//==================get_driver_behavior.php=============
static String get get_driver_behavior =>