2024-04-17 16:19:43 +03:30
|
|
|
|
namespace Netina.AdminPanel.PWA.Models;
|
2024-01-22 17:26:29 +03:30
|
|
|
|
|
|
|
|
|
|
public static class Address
|
|
|
|
|
|
{
|
|
|
|
|
|
#if DEBUG
|
2024-04-25 02:48:37 +03:30
|
|
|
|
public static string BaseAddress = "http://localhost:32770/api";
|
|
|
|
|
|
//public static string BaseAddress = "https://api.vesmeh.com/api";
|
2024-01-22 17:26:29 +03:30
|
|
|
|
#else
|
2024-03-09 22:01:39 +03:30
|
|
|
|
public static string BaseAddress = "https://api.vesmeh.com/api";
|
2024-01-22 17:26:29 +03:30
|
|
|
|
#endif
|
|
|
|
|
|
public static string AuthController = $"{BaseAddress}/auth";
|
|
|
|
|
|
public static string UserController = $"{BaseAddress}/user";
|
|
|
|
|
|
public static string ProductCategoryController = $"{BaseAddress}/product/category";
|
2024-01-28 20:51:50 +03:30
|
|
|
|
public static string ProductController = $"{BaseAddress}/product";
|
2024-01-23 09:13:40 +03:30
|
|
|
|
public static string BrandController = $"{BaseAddress}/brand";
|
2024-01-30 02:33:27 +03:30
|
|
|
|
public static string FileController => $"{BaseAddress}/file";
|
2024-01-30 19:35:44 +03:30
|
|
|
|
public static string BlogController => $"{BaseAddress}/blog";
|
|
|
|
|
|
public static string BlogCategoryController => $"{BaseAddress}/blog/category";
|
2024-02-04 16:52:32 +03:30
|
|
|
|
public static string DiscountController => $"{BaseAddress}/discount";
|
2024-02-09 19:43:20 +03:30
|
|
|
|
public static string RoleController => $"{BaseAddress}/user/role";
|
2024-02-09 21:43:16 +03:30
|
|
|
|
public static string ShippingController => $"{BaseAddress}/warehouse/shipping";
|
2024-02-17 15:39:59 +03:30
|
|
|
|
public static string OrderController => $"{BaseAddress}/order";
|
|
|
|
|
|
public static string PaymentController => $"{BaseAddress}/accounting/pay";
|
|
|
|
|
|
public static string PageController => $"{BaseAddress}/page";
|
|
|
|
|
|
public static string ScraperController => $"{BaseAddress}/scraper";
|
2024-02-24 15:39:26 +03:30
|
|
|
|
public static string NewsletterMemberController => $"{BaseAddress}/newsletter/member";
|
2024-02-25 18:21:01 +03:30
|
|
|
|
public static string DashboardController => $"{BaseAddress}/dashboard";
|
2024-04-03 10:40:42 +03:30
|
|
|
|
public static string SettingController => $"{BaseAddress}/setting";
|
|
|
|
|
|
public static string DistrictController => $"{BaseAddress}/district";
|
2024-01-22 17:26:29 +03:30
|
|
|
|
}
|