77 lines
4.0 KiB
Dart
77 lines
4.0 KiB
Dart
class AppLink {
|
|
static const String server = 'https://ride.mobile-app.store';
|
|
static const String googleMapsLink = 'https://maps.googleapis.com/maps/api/';
|
|
|
|
static const String test = "$server/test.php";
|
|
//===============firebase==========================
|
|
static const String getTokens = "$server/ride/firebase/get.php";
|
|
static const String addTokens = "$server/ride/firebase/add.php";
|
|
static const String addTokensDriver = "$server/ride/firebase/addDriver.php";
|
|
|
|
//=======================Wallet===================
|
|
static const String wallet = '$server/ride/passengerWallet/';
|
|
static const String getAllPassengerTransaction =
|
|
"$wallet/getAllPassengerTransaction.php";
|
|
static const String getWalletByPassenger = "$wallet/getWalletByPassenger.php";
|
|
static const String getPassengersWallet = "$wallet/get.php";
|
|
static const String addPassengersWallet = "$wallet/add.php";
|
|
static const String deletePassengersWallet = "$wallet/delete.php";
|
|
static const String updatePassengersWallet = "$wallet/update.php";
|
|
|
|
//=======================promo===================ride.mobile-app.store/ride/promo/get.php
|
|
static const String promo = '$server/ride/promo';
|
|
static const String getPassengersPromo = "$promo/get.php";
|
|
static const String getPromoBytody = "$promo/getPromoBytody.php";
|
|
static const String addPassengersPromo = "$promo/add.php";
|
|
static const String deletePassengersPromo = "$promo/delete.php";
|
|
static const String updatePassengersPromo = "$promo/update.php";
|
|
|
|
////=======================cancelRide===================
|
|
static const String ride = '$server/ride';
|
|
static const String addCancelRide = "$server/ride/cancelRide/add.php";
|
|
static const String cancelRide = "$server/ride/cancelRide/get.php";
|
|
//-----------------ridessss------------------
|
|
static const String addRides = "$ride/rides/add.php";
|
|
static const String getRides = "$ride/rides/get.php";
|
|
static const String updateRides = "$ride/rides/update.php";
|
|
static const String deleteRides = "$ride/rides/delete.php";
|
|
|
|
//-----------------DriverOrder------------------
|
|
static const String addDriverOrder = "$ride/driver_order/add.php";
|
|
static const String getDriverOrder = "$ride/driver_order/get.php";
|
|
static const String updateDriverOrder = "$ride/driver_order/update.php";
|
|
static const String deleteDriverOrder = "$ride/driver_order/delete.php";
|
|
|
|
static const String pathImage = "$server/upload/types/";
|
|
static const String uploadImage = "$server/uploadImage.php";
|
|
static const String uploadImageType = "$server/uploadImageType.php";
|
|
|
|
//==================certifcate==========
|
|
static const String location = '$server/ride/location';
|
|
static const String getCarsLocationByPassenger = "$location/get.php";
|
|
static const String addCarsLocationByPassenger = "$location/add.php";
|
|
static const String deleteCarsLocationByPassenger = "$location/delete.php";
|
|
static const String updateCarsLocationByPassenger = "$location/update.php";
|
|
|
|
//==================Blog=============
|
|
static const String profile = 'https://ride.mobile-app.store/ride/profile';
|
|
static const String getprofile = "$profile/get.php";
|
|
static const String addprofile = "$profile/add.php";
|
|
static const String deleteprofile = "$profile/delete.php";
|
|
static const String updateprofile = "$profile/update.php";
|
|
|
|
//===================Auth============
|
|
|
|
static const String auth = 'https://ride.mobile-app.store/auth';
|
|
static const String login = "$auth/login.php";
|
|
static const String signUp = "$auth/signup.php";
|
|
static const String sendVerifyEmail = "$auth/sendVerifyEmail.php";
|
|
static const String verifyEmail = "$auth/verifyEmail.php";
|
|
//===================Auth Captin============
|
|
static const String authCaptin = 'https://ride.mobile-app.store/auth/captin';
|
|
static const String loginCaptin = "$authCaptin/login.php";
|
|
static const String signUpCaptin = "$authCaptin/register.php";
|
|
static const String sendVerifyEmailCaptin = "$authCaptin/sendVerifyEmail.php";
|
|
static const String verifyEmailCaptin = "$authCaptin/verifyEmail.php";
|
|
}
|