resolution connexions
Deploy Nexus Portal to HestiaCP (FTP) / build-and-deploy (push) Successful in 14s
Deploy Nexus Portal to HestiaCP (FTP) / build-and-deploy (push) Successful in 14s
This commit is contained in:
+4
-4
@@ -29,18 +29,18 @@ const apiCall = async (url, body = null) => {
|
||||
// ==========================================
|
||||
|
||||
export const loginClient = (email, password) =>
|
||||
apiCall(`${BASE_URL}/api/guest/client/login`, { email, password });
|
||||
apiCall(`${BASE_URL}/index.php?_url=/api/guest/client/login`, { email, password });
|
||||
|
||||
export const getClientProfile = () =>
|
||||
apiCall(`${BASE_URL}/api/client/profile/get`);
|
||||
apiCall(`${BASE_URL}/index.php?_url=/api/client/profile/get`);
|
||||
|
||||
// Récupère la liste des services/commandes du client
|
||||
export const getClientOrders = () =>
|
||||
apiCall(`${BASE_URL}/api/client/order/get_list`);
|
||||
apiCall(`${BASE_URL}/index.php?_url=/api/client/order/get_list`);
|
||||
|
||||
// Récupère les détails techniques du service rattaché à une commande
|
||||
export const getOrderService = (order_id) =>
|
||||
apiCall(`${BASE_URL}/api/client/order/service`, { id: order_id });
|
||||
apiCall(`${BASE_URL}/index.php?_url=/api/client/order/service`, { id: order_id });
|
||||
|
||||
// ==========================================
|
||||
// ROUTES PERSONNALISÉES (CUSTOM API)
|
||||
|
||||
Reference in New Issue
Block a user