From 497f54b264eba626b77e79fec2ca6947ccae19e4 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期二, 14 十二月 2021 15:45:23 +0800
Subject: [PATCH] refactor: myAppointmentList

---
 PAMapp/assets/ts/api/appointment.ts |   31 -------------------------------
 1 files changed, 0 insertions(+), 31 deletions(-)

diff --git a/PAMapp/assets/ts/api/appointment.ts b/PAMapp/assets/ts/api/appointment.ts
index b324059..84bcded 100644
--- a/PAMapp/assets/ts/api/appointment.ts
+++ b/PAMapp/assets/ts/api/appointment.ts
@@ -2,14 +2,6 @@
 
 import { AppointmentLog } from '../models/appointment.model';
 
-// ���������
-export function getMyAppointmentList():Promise<ClientInfo[]> {
-    const headers = {
-        Authorization: 'Bearer ' + localStorage.getItem('id_token')
-    }
-    return http.get('/consultant/getMyAppointment', {headers}).then(res => res.data);
-}
-
 // 璅�撌脰蝯�
 export function markAsContact(appointmentId: number) {
     const headers = {
@@ -42,27 +34,4 @@
         Authorization: 'Bearer ' + localStorage.getItem('id_token')
     }
     return http.post('/appointment/recordRead/' + appointmentId, undefined, {headers})
-}
-
-
-export interface ClientInfo {
-    id               : number,
-    phone            : string,
-    email            : string,
-    contactType      : string,
-    gender           : string,
-    age              : string,
-    job              : string,
-    requirement      : string,
-    communicateStatus: string,
-    hopeContactTime  : string,
-    otherRequirement : string,
-    appointmentDate  : Date,
-    agentNo          : string,
-    customerId       : number,
-    name             : string,
-    consultantViewTime: Date,
-    consultantReadTime: Date,
-    contactTime      : Date,
-    satisfactionScore: number
 }

--
Gitblit v1.8.0