From 23f7ec5f7cd67322617e623361a5620d405dfeda Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期三, 22 十二月 2021 12:00:30 +0800
Subject: [PATCH] refactor: separate api/appointment.ts into several services

---
 PAMapp/shared/services/appointment.service.ts |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diff --git a/PAMapp/shared/services/appointment.service.ts b/PAMapp/shared/services/appointment.service.ts
index ef4cea0..c8c6f9d 100644
--- a/PAMapp/shared/services/appointment.service.ts
+++ b/PAMapp/shared/services/appointment.service.ts
@@ -16,16 +16,9 @@
     });
   }
 
+  // 憿批��憿舐內����蝑敺孛�
   private viewAllAppointment(): void {
     http.post('/consultant/record/allAppointmentsView').then();
-  }
-
-  // 璅�撌脰蝯�
-  markAsContact(appointmentId: number): Promise<void> {
-      // TODO: 頝�垢蝣箄���ㄐ��� API 銝�府���� void, ���府���敺���� - Ben 2021/11/16
-      // return http.post('/appointment/markAsContacted/'+appointmentId, undefined, {headers})
-      //         .then(res => res.data)
-      return http.post(`/appointment/markAsContacted/${appointmentId}`);
   }
 
   // 霈�������孛�嚗������������

--
Gitblit v1.8.0