41 lines
1.8 KiB
Dart
41 lines
1.8 KiB
Dart
class ApiUrls {
|
|
// static const String baseUrl = 'https://cheminova-api-2.onrender.com/api/';
|
|
|
|
//============================== Base Url =========================================//
|
|
static const String baseUrl = 'https://api.cnapp.co.in';
|
|
|
|
//============================== Login =========================================//
|
|
|
|
static const String loginUrl = '/api/v1/user/login/';
|
|
static const String forgetPasswordUrl = '/api/v1/user/password/forgot';
|
|
static const String changePasswordUrl = '/api/v1/user/password/update';
|
|
static const String fcmUrl = '/api/v1/user/fcm-token';
|
|
|
|
|
|
//============================== User Details ==============================//
|
|
static const String profileUrl = '/api/v1/user/details';
|
|
|
|
|
|
//============================== Product Details ==============================//
|
|
|
|
static const String getCategoryUrl = '/api/category/getCategories';
|
|
// static const String getProductUrl = '/api/category/getCategories';
|
|
static const String getallProductUrl = '/api/product/getAll/user';
|
|
|
|
//============================== Placed Order Details ==============================//
|
|
|
|
static const String getPlacedOrderUrl ='/api/get-placed-order-pd';
|
|
static const String getSinglePlacedOrderUrl ='/api/get-single-placed-order-pd';
|
|
static const String placedOrderUrl ='${baseUrl}/api/order-place';
|
|
|
|
//============================== Product Manual ==============================//
|
|
static const String getProductManualUrl = '/api/productmanual/getall';
|
|
|
|
|
|
//============================== Notification Details ==============================//
|
|
static const String getNotificationUrl = '/api/get-notification-pd';
|
|
|
|
//============================== Kyc Details ==============================//
|
|
static const String getKycUrl = '${baseUrl}/api/kyc/getAll';
|
|
}
|