25-5-30/1
This commit is contained in:
@@ -15,28 +15,27 @@ class AppLink {
|
||||
// static final String seferAlexandriaServer = Env.seferAlexandriaServer;
|
||||
// static final String seferCairoServer = Env.seferCairoServer;
|
||||
// static final String seferCairoServer =
|
||||
// 'https://server.sefer.click/sefer.click/sefer';
|
||||
// 'https://api.tripz-egypt.com/tripz';
|
||||
// static final String seferGizaServer = Env.seferCairoServer;
|
||||
// static final String seferAlexandriaServer = Env.seferCairoServer;
|
||||
// static final String seferPaymentServer = '${Env.seferCairoServer}/ride';
|
||||
// static final String seferPaymentServer0 = Env.seferCairoServer;
|
||||
// static const String seferGizaServer = 'https://gizasefer.online/sefer';
|
||||
// static final String seferGizaServer = Env.seferGizaServer;
|
||||
static final String endPoint =
|
||||
box.read(BoxName.serverChosen) ?? box.read(BoxName.basicLink);
|
||||
// 'https://server.sefer.click/sefer.click/sefer';
|
||||
static final String endPoint = 'https://api.tripz-egypt.com/tripz';
|
||||
// 'https://api.tripz-egypt.com/tripz';
|
||||
static final String server = endPoint;
|
||||
static String seferCairoServer = endPoint;
|
||||
static String seferGizaServer = box.read('Giza');
|
||||
static String seferAlexandriaServer = box.read('Alexandria');
|
||||
static String seferGizaServer =
|
||||
box.read('Giza') ?? box.read(BoxName.serverChosen);
|
||||
static String seferAlexandriaServer =
|
||||
box.read('Alexandria') ?? box.read(BoxName.serverChosen);
|
||||
// static final String server = Env.serverPHP;
|
||||
|
||||
static String loginJwtDriver =
|
||||
"https://server.sefer.click/sefer.click/sefer/loginJwtDriver.php";
|
||||
static String loginJwtDriver = "$server/loginJwtDriver.php";
|
||||
static String loginJwtWalletDriver =
|
||||
"$seferPaymentServer/loginJwtWalletDriver.php";
|
||||
static String loginFirstTimeDriver =
|
||||
"https://server.sefer.click/sefer.click/sefer/loginFirstTimeDriver.php";
|
||||
static String loginFirstTimeDriver = "$server/loginFirstTimeDriver.php";
|
||||
|
||||
static String googleMapsLink = 'https://maps.googleapis.com/maps/api/';
|
||||
static String llama = 'https://api.llama-api.com/chat/completions';
|
||||
@@ -92,7 +91,7 @@ class AppLink {
|
||||
static String ride = '$server/ride';
|
||||
static String addCancelRideFromPassenger = "$server/ride/cancelRide/add.php";
|
||||
static String addCancelTripFromDriverAfterApplied =
|
||||
"$server/ride/cancelRide/addCancelTripFromDriverAfterApplied.php";
|
||||
"$ride/cancelRide/addCancelTripFromDriverAfterApplied.php";
|
||||
static String cancelRide = "$server/ride/cancelRide/get.php";
|
||||
//-----------------ridessss------------------
|
||||
static String addRides = "$ride/rides/add.php";
|
||||
@@ -102,10 +101,9 @@ class AppLink {
|
||||
static String getTripCountByCaptain = "$ride/rides/getTripCountByCaptain.php";
|
||||
static String getRideOrderID = "$ride/rides/getRideOrderID.php";
|
||||
static String getRideStatus = "$ride/rides/getRideStatus.php";
|
||||
static String getapiKey = Env.getapiKey;
|
||||
static String getapiKey = "$ride/apiKey/get.php";
|
||||
|
||||
static String getapiKeySefer =
|
||||
"https://api.sefer.click/sefer/ride/apiKey/get.php";
|
||||
static String getapiKeySefer = "$ride/apiKey/get.php";
|
||||
static String getRideStatusBegin = "$ride/rides/getRideStatusBegin.php";
|
||||
static String getRideStatusFromStartApp =
|
||||
"$ride/rides/getRideStatusFromStartApp.php";
|
||||
@@ -226,16 +224,16 @@ class AppLink {
|
||||
static String addRateToDriver = "$ride/rate/addRateToDriver.php";
|
||||
static String addRateApp = "$ride/rate/add_rate_app.php";
|
||||
static String sendEmailRateingApp =
|
||||
"https://api.sefer.click/sefer/ride/rate/sendEmailRateingApp.php";
|
||||
"https://api.tripz-egypt.com/tripz/ride/rate/sendEmailRateingApp.php";
|
||||
static String getDriverRate = "$ride/rate/getDriverRate.php";
|
||||
static String getPassengerRate = "$ride/rate/getPassengerRate.php";
|
||||
|
||||
////////////////emails ============//
|
||||
static String sendEmailToPassengerForTripDetails =
|
||||
"https://api.sefer.click/sefer/ride/rides/emailToPassengerTripDetail.php";
|
||||
"https://api.tripz-egypt.com/tripz/ride/rides/emailToPassengerTripDetail.php";
|
||||
static String sendEmailToDrivertransaction =
|
||||
"https://api.sefer.click/sefer/Admin/sendEmailToDrivertransaction.php";
|
||||
// "https://api.sefer.click/sefer/Admin/sendEmailToDrivertransaction.php";
|
||||
"https://api.tripz-egypt.com/tripz/Admin/sendEmailToDrivertransaction.php";
|
||||
// "https://api.tripz-egypt.com/tripz/Admin/sendEmailToDrivertransaction.php";
|
||||
// ===========================================
|
||||
static String pathImage = "$server/upload/types/";
|
||||
static String uploadImage = "$server/uploadImage.php";
|
||||
@@ -253,7 +251,7 @@ class AppLink {
|
||||
static String getCarsLocationByPassenger = "$location/get.php";
|
||||
static String addpassengerLocation = "$location/addpassengerLocation.php";
|
||||
static String getLocationAreaLinks =
|
||||
"https://server.sefer.click/sefer.click/sefer/ride/location/get_location_area_links.php";
|
||||
"https://api.tripz-egypt.com/tripz/ride/location/get_location_area_links.php";
|
||||
static String getLatestLocationPassenger =
|
||||
"$location/getLatestLocationPassenger.php";
|
||||
static String getFemalDriverLocationByPassenger =
|
||||
@@ -261,6 +259,7 @@ class AppLink {
|
||||
static String getDriverCarsLocationToPassengerAfterApplied =
|
||||
"$location/getDriverCarsLocationToPassengerAfterApplied.php";
|
||||
static String addCarsLocationByPassenger = "$location/add.php";
|
||||
static String saveBehavior = "$location/save_behavior.php";
|
||||
static String addCarsLocationGizaEndpoint = "$location/add.php";
|
||||
static String addCarsLocationAlexandriaEndpoint = "$location/add.php";
|
||||
static String addCarsLocationCairoEndpoint = "$location/add.php";
|
||||
@@ -271,6 +270,10 @@ class AppLink {
|
||||
static String getTotalDriverDurationToday =
|
||||
"$location/getTotalDriverDurationToday.php";
|
||||
|
||||
//==================get_driver_behavior.php=============
|
||||
static String get_driver_behavior =
|
||||
'$server/ride/driver_behavior/get_driver_behavior.php';
|
||||
|
||||
//==================cars new drivers=============
|
||||
static String addNewCarsDrivers = '$server/ride/carDrivers/add.php';
|
||||
static String getNewCarsDrivers = '$server/ride/carDrivers/get.php';
|
||||
|
||||
@@ -5,6 +5,7 @@ class TableName {
|
||||
static const String driverOrdersRefuse = "driverOrdersRefuse";
|
||||
static const String rideLocation = "rideLocation";
|
||||
static const String faceDetectTimes = "faceDetectTimes";
|
||||
static const String behavior = "behavior";
|
||||
static const String captainNotification = "captainNotification";
|
||||
static const String applyRideFromOverLay = "applyRideFromOverLay";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user