25-10-11/1
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
// import 'package:sefer_driver/env/env.dart';
|
||||
|
||||
import 'package:sefer_driver/env/env.dart';
|
||||
|
||||
import '../main.dart';
|
||||
import 'box_name.dart';
|
||||
|
||||
@@ -9,13 +7,16 @@ class AppLink {
|
||||
static String serverPHP = box.read('serverPHP');
|
||||
|
||||
static String paymentServer = 'https://walletintaleq.intaleq.xyz/v1/main';
|
||||
static String seferPaymentServer0 =
|
||||
'https://walletintaleq.intaleq.xyz/v1/main';
|
||||
|
||||
static final String endPoint = 'https://intaleq.xyz/intaleq';
|
||||
static String locationServer =
|
||||
'https://location.intaleq.xyz/intaleq/ride/location';
|
||||
|
||||
static final String endPoint = 'https://api.intaleq.xyz/intaleq';
|
||||
static final String syria = 'https://syria.intaleq.xyz/intaleq';
|
||||
// 'https://api.tripz-egypt.com/tripz';
|
||||
static final String server = endPoint;
|
||||
static String ride = '$endPoint/ride';
|
||||
static String rideServer = 'https://rides.intaleq.xyz/intaleq/ride';
|
||||
|
||||
static String seferCairoServer = endPoint;
|
||||
static String seferGizaServer =
|
||||
box.read('Giza') ?? box.read(BoxName.serverChosen);
|
||||
@@ -24,8 +25,7 @@ class AppLink {
|
||||
// static final String server = Env.serverPHP;
|
||||
|
||||
static String loginJwtDriver = "$server/loginJwtDriver.php";
|
||||
static String loginJwtWalletDriver =
|
||||
"$paymentServer/loginJwtWalletDriver.php";
|
||||
static String loginJwtWalletDriver = "$server/loginJwtWalletDriver.php";
|
||||
static String loginFirstTimeDriver = "$server/loginFirstTimeDriver.php";
|
||||
|
||||
static String googleMapsLink = 'https://maps.googleapis.com/maps/api/';
|
||||
@@ -34,7 +34,7 @@ class AppLink {
|
||||
'https://generativelanguage.googleapis.com/v1beta3/models/text-bison-001:generateText';
|
||||
|
||||
static String test = "$server/test.php";
|
||||
static String ride = '$server/ride';
|
||||
|
||||
//===============contact==========================
|
||||
static String savePhones = "$ride/egyptPhones/add.php";
|
||||
static String savePhonesSyria = "$ride/egyptPhones/syrianAdd.php";
|
||||
@@ -97,19 +97,20 @@ class AppLink {
|
||||
|
||||
////=======================cancelRide===================
|
||||
|
||||
static String addCancelRideFromPassenger = "$ride/cancelRide/add.php";
|
||||
static String addCancelRideFromPassenger = "$rideServer/cancelRide/add.php";
|
||||
static String addCancelTripFromDriverAfterApplied =
|
||||
"$ride/cancelRide/addCancelTripFromDriverAfterApplied.php";
|
||||
static String cancelRide = "$ride/cancelRide/get.php";
|
||||
"$rideServer/cancelRide/addCancelTripFromDriverAfterApplied.php";
|
||||
static String cancelRide = "$rideServer/cancelRide/get.php";
|
||||
//-----------------ridessss------------------
|
||||
static String addRides = "$ride/rides/add.php";
|
||||
static String getRides = "$ride/rides/get.php";
|
||||
static String getPlacesSyria = "$ride/places_syria/get.php";
|
||||
static String getMishwari = "$ride/mishwari/get.php";
|
||||
static String getMishwariDriver = "$ride/mishwari/getDriver.php";
|
||||
static String getTripCountByCaptain = "$ride/rides/getTripCountByCaptain.php";
|
||||
static String getRideOrderID = "$ride/rides/getRideOrderID.php";
|
||||
static String getRideStatus = "$ride/rides/getRideStatus.php";
|
||||
static String addRides = "$rideServer/rides/add.php";
|
||||
static String getRides = "$rideServer/rides/get.php";
|
||||
static String getPlacesSyria = "$rideServer/places_syria/get.php";
|
||||
static String getMishwari = "$rideServer/mishwari/get.php";
|
||||
static String getMishwariDriver = "$rideServer/mishwari/getDriver.php";
|
||||
static String getTripCountByCaptain =
|
||||
"$rideServer/rides/getTripCountByCaptain.php";
|
||||
static String getRideOrderID = "$rideServer/rides/getRideOrderID.php";
|
||||
static String getRideStatus = "$rideServer/rides/getRideStatus.php";
|
||||
static String getOverLayStatus = "$ride/overLay/get.php";
|
||||
static String getArgumentAfterAppliedFromBackground =
|
||||
"$ride/overLay/getArgumentAfterAppliedFromBackground.php";
|
||||
@@ -117,14 +118,15 @@ class AppLink {
|
||||
static String getapiKey = "$ride/apiKey/get.php";
|
||||
|
||||
static String getapiKeySefer = "$ride/apiKey/get.php";
|
||||
static String getRideStatusBegin = "$ride/rides/getRideStatusBegin.php";
|
||||
static String getRideStatusBegin = "$rideServer/rides/getRideStatusBegin.php";
|
||||
static String getRideStatusFromStartApp =
|
||||
"$ride/rides/getRideStatusFromStartApp.php";
|
||||
static String updateRides = "$ride/rides/update.php";
|
||||
"$rideServer/rides/getRideStatusFromStartApp.php";
|
||||
static String updateRides = "$rideServer/rides/update.php";
|
||||
static String updateRideAndCheckIfApplied =
|
||||
"$ride/rides/updateRideAndCheckIfApplied.php";
|
||||
static String updateStausFromSpeed = "$ride/rides/updateStausFromSpeed.php";
|
||||
static String deleteRides = "$ride/rides/delete.php";
|
||||
"$rideServer/rides/updateRideAndCheckIfApplied.php";
|
||||
static String updateStausFromSpeed =
|
||||
"$rideServer/rides/updateStausFromSpeed.php";
|
||||
static String deleteRides = "$rideServer/rides/delete.php";
|
||||
|
||||
//-----------------DriverPayment------------------
|
||||
static String addDriverScam = "$ride/driver_scam/add.php";
|
||||
@@ -158,7 +160,7 @@ class AppLink {
|
||||
static String getDriverPaymentPoints =
|
||||
"$paymentServer/ride/driverWallet/get.php";
|
||||
static String getDriverPaymentToday = "$paymentServer/ride/payment/get.php";
|
||||
static String getCountRide = "$ride/payment/getCountRide.php";
|
||||
static String getCountRide = "$rideServer/payment/getCountRide.php";
|
||||
static String getAllPaymentFromRide =
|
||||
"$paymentServer/ride/payment/getAllPayment.php";
|
||||
static String getAllPaymentVisa =
|
||||
@@ -266,27 +268,31 @@ class AppLink {
|
||||
static String uploadEgypt1 = "$server/uploadEgypt1.php";
|
||||
|
||||
//==================certifcate==========
|
||||
static String location = '$endPoint/ride/location';
|
||||
static String getCarsLocationByPassenger = "$location/get.php";
|
||||
static String addpassengerLocation = "$location/addpassengerLocation.php";
|
||||
static String getLocationAreaLinks = "$location/get_location_area_links.php";
|
||||
// static String location = '$endPoint/ride/location';
|
||||
|
||||
static String getCarsLocationByPassenger = "$locationServer/get.php";
|
||||
static String addpassengerLocation =
|
||||
"$locationServer/addpassengerLocation.php";
|
||||
static String getLocationAreaLinks =
|
||||
"$locationServer/get_location_area_links.php";
|
||||
static String getLatestLocationPassenger =
|
||||
"$location/getLatestLocationPassenger.php";
|
||||
"$locationServer/getLatestLocationPassenger.php";
|
||||
static String getFemalDriverLocationByPassenger =
|
||||
"$location/getFemalDriver.php";
|
||||
"$locationServer/getFemalDriver.php";
|
||||
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";
|
||||
static String deleteCarsLocationByPassenger = "$location/delete.php";
|
||||
static String updateCarsLocationByPassenger = "$location/update.php";
|
||||
static String getTotalDriverDuration = "$location/getTotalDriverDuration.php";
|
||||
static String getRidesDriverByDay = "$location/getRidesDriverByDay.php";
|
||||
"$locationServer/getDriverCarsLocationToPassengerAfterApplied.php";
|
||||
static String addCarsLocationByPassenger = "$locationServer/add.php";
|
||||
static String saveBehavior = "$locationServer/save_behavior.php";
|
||||
static String addCarsLocationGizaEndpoint = "$locationServer/add.php";
|
||||
static String addCarsLocationAlexandriaEndpoint = "$locationServer/add.php";
|
||||
static String addCarsLocationCairoEndpoint = "$locationServer/add.php";
|
||||
static String deleteCarsLocationByPassenger = "$locationServer/delete.php";
|
||||
static String updateCarsLocationByPassenger = "$locationServer/update.php";
|
||||
static String getTotalDriverDuration =
|
||||
"$locationServer/getTotalDriverDuration.php";
|
||||
static String getRidesDriverByDay = "$locationServer/getRidesDriverByDay.php";
|
||||
static String getTotalDriverDurationToday =
|
||||
"$location/getTotalDriverDurationToday.php";
|
||||
"$locationServer/getTotalDriverDurationToday.php";
|
||||
|
||||
//==================get_driver_behavior.php=============
|
||||
static String get_driver_behavior =
|
||||
|
||||
Reference in New Issue
Block a user