62 lines
3.1 KiB
Dart
62 lines
3.1 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";
|
|
|
|
//=======================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 addPassengersPromo = "$promo/add.php";
|
|
static const String deletePassengersPromo = "$promo/delete.php";
|
|
static const String updatePassengersPromo = "$promo/update.php";
|
|
|
|
////=======================ride===================
|
|
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";
|
|
|
|
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";
|
|
}
|