refactor: enhance appointment handling by adding appointmentId state and updating payment process

This commit is contained in:
hamed
2025-11-18 17:09:37 +03:30
parent 5a9f21e88d
commit df54983fa3
6 changed files with 126 additions and 21 deletions
+1
View File
@@ -67,6 +67,7 @@ export const request = {
removeTokenHead
),
postAppointment: (data) => api.post(`api/v1/appointment`, data, { requireAuth: true }),
postPayment: (data) => api.post(`api/v1/payment`, data, { requireAuth: true }),
postDoctor: (data) => api.post("api/v1/doctor", data),
postImageUpload: (data) =>
api.post("file/upload/clinic_pro/doctor/field_image", data, {