Update: 2026-06-23 16:17:20
This commit is contained in:
@@ -13,19 +13,27 @@ class AppLink {
|
||||
|
||||
static String get paymentServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://wallet-syria.siromove.com/v1/main';
|
||||
case 'Egypt': return 'https://wallet-egypt.siromove.com/v1/main';
|
||||
case 'Jordan': return 'https://wallet-jordan.siromove.com/v1/main';
|
||||
default: return 'https://wallet.siromove.com/v1/main';
|
||||
case 'Syria':
|
||||
return 'https://wallet-syria.siromove.com/v1/main';
|
||||
case 'Egypt':
|
||||
return 'https://wallet-egypt.siromove.com/v1/main';
|
||||
case 'Jordan':
|
||||
return 'https://walletintaleq.intaleq.xyz/v2/main';
|
||||
default:
|
||||
return 'https://wallet.siromove.com/v1/main';
|
||||
}
|
||||
}
|
||||
|
||||
static String get locationServer {
|
||||
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': return 'https://location-jordan.siromove.com/siro/ride/location';
|
||||
default: return 'https://location.siromove.com/siro/ride/location';
|
||||
case 'Syria':
|
||||
return 'https://location-syria.siromove.com/siro/ride/location';
|
||||
case 'Egypt':
|
||||
return 'https://location-egypt.siromove.com/siro/ride/location';
|
||||
case 'Jordan':
|
||||
return 'https://location.intaleq.xyz/intaleq/ride/location';
|
||||
default:
|
||||
return 'https://location.siromove.com/siro/ride/location';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,50 +42,70 @@ class AppLink {
|
||||
|
||||
static String get mapSaasRoute {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://map-syria.siromove.com/api/maps/route';
|
||||
case 'Egypt': return 'https://map-egypt.siromove.com/api/maps/route';
|
||||
case 'Jordan': return 'https://map-jordan.siromove.com/api/maps/route';
|
||||
default: return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/maps/route';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/maps/route';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/maps/route';
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasPlaces {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://map-syria.siromove.com/api/geocoding/places';
|
||||
case 'Egypt': return 'https://map-egypt.siromove.com/api/geocoding/places';
|
||||
case 'Jordan': return 'https://map-jordan.siromove.com/api/geocoding/places';
|
||||
default: return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
case 'Syria':
|
||||
return 'https://map-syria.siromove.com/api/geocoding/places';
|
||||
case 'Egypt':
|
||||
return 'https://map-egypt.siromove.com/api/geocoding/places';
|
||||
case 'Jordan':
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
default:
|
||||
return 'https://map-saas.intaleqapp.com/api/geocoding/places';
|
||||
}
|
||||
}
|
||||
|
||||
static String get routeApiBaseUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://routes-syria.siromove.com/route/v1/driving';
|
||||
case 'Egypt': return 'https://routes-egypt.siromove.com/route/v1/driving';
|
||||
case 'Jordan': return 'https://routes-jordan.siromove.com/route/v1/driving';
|
||||
default: return 'https://routes.siromove.com/route/v1/driving';
|
||||
case 'Syria':
|
||||
return 'https://routes-syria.siromove.com/route/v1/driving';
|
||||
case 'Egypt':
|
||||
return 'https://routes-egypt.siromove.com/route/v1/driving';
|
||||
case 'Jordan':
|
||||
return 'https://routesjo.intaleq.xyz/route/v1/driving';
|
||||
default:
|
||||
return 'https://routes.siromove.com/route/v1/driving';
|
||||
}
|
||||
}
|
||||
|
||||
static String get syria => 'https://api-syria.siromove.com/siro';
|
||||
|
||||
|
||||
static String seferPaymentServer0 = box.read('seferPaymentServer');
|
||||
|
||||
static String get endPoint {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://api-syria.siromove.com/siro_v3';
|
||||
case 'Egypt': return 'https://api-egypt.siromove.com/siro_v3';
|
||||
case 'Jordan': return 'https://api-jordan.siromove.com/siro_v3';
|
||||
default: return 'https://api.siromove.com/siro_v3';
|
||||
case 'Syria':
|
||||
return 'https://api-syria.siromove.com/siro_v3';
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro_v3';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com/backend';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro_v3';
|
||||
}
|
||||
}
|
||||
|
||||
static String get rideServer {
|
||||
switch (currentCountry) {
|
||||
case 'Syria': return 'https://api-syria.siromove.com/siro';
|
||||
case 'Egypt': return 'https://api-egypt.siromove.com/siro';
|
||||
case 'Jordan': return 'https://api-jordan.siromove.com/siro';
|
||||
default: return 'https://api.siromove.com/siro';
|
||||
case 'Syria':
|
||||
return 'https://api-syria.siromove.com/siro';
|
||||
case 'Egypt':
|
||||
return 'https://api-egypt.siromove.com/siro';
|
||||
case 'Jordan':
|
||||
return 'https://rides.intaleq.xyz/intaleq';
|
||||
default:
|
||||
return 'https://api.siromove.com/siro';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +114,6 @@ class AppLink {
|
||||
static final String jwtService = '$server/jwtService.php';
|
||||
static String addError = "$server/Admin/errorApp.php";
|
||||
|
||||
|
||||
// static final String endPoint = box.read(BoxName.serverChosen);
|
||||
// static final String server = Env.seferCairoServer;
|
||||
// static const String server = "https://sefer.click/sefer/sefer";
|
||||
|
||||
Reference in New Issue
Block a user