resolution connexions
Deploy Nexus Portal to HestiaCP (FTP) / build-and-deploy (push) Successful in 14s

This commit is contained in:
2026-06-12 20:53:01 +02:00
parent 00de9ce088
commit 1d3964c8bc
+4 -4
View File
@@ -17,18 +17,18 @@ const apiCall = async (url, body = {}) => {
};
export const loginClient = (email, password) =>
apiCall('https://web.gise.be/api/guest/client/login', { email, password });
apiCall('https://web.gise.be/index.php?_url=/api/guest/client/login', { email, password });
export const getClientProfile = () =>
apiCall('https://web.gise.be/api/client/profile/get');
apiCall('/api/client/profile/get');
// Récupère la liste des services/commandes du client
export const getClientOrders = () =>
apiCall('https://web.gise.be/api/client/order/get_list');
apiCall('/api/client/order/get_list');
// Récupère les détails techniques du service rattaché à une commande
export const getOrderService = (order_id) =>
apiCall('https://web.gise.be/api/client/order/service', { id: order_id });
apiCall('/api/client/order/service', { id: order_id });
// Fonction d'inscription unifiee pour créer un compte client et commander un service en une seule étape
export const registerUnifiedClient = async (email, username, password, firstName, lastName) => {