From 46da7429ca192bf6a947d79437e8076b94676a05 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期四, 13 一月 2022 16:29:45 +0800
Subject: [PATCH] update: 刪除重複的 interface: clientInfo => appointment

---
 PAMapp/shared/services/my-consultant.service.ts |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/PAMapp/shared/services/my-consultant.service.ts b/PAMapp/shared/services/my-consultant.service.ts
index 906f44d..3d4dd78 100644
--- a/PAMapp/shared/services/my-consultant.service.ts
+++ b/PAMapp/shared/services/my-consultant.service.ts
@@ -1,8 +1,9 @@
+import _ from "lodash";
+
 import { http } from "./httpClient";
 import { AgentInfo } from '~/shared/models/agent-info.model';
 import { Consultant } from "../models/consultant.model";
-import _ from "lodash";
-import { ClientInfo } from "../models/client.model";
+import { Appointment } from "../models/appointment.model";
 class MyConsultantService {
 
   async getFavoriteConsultantList(): Promise<Consultant[]> {
@@ -30,7 +31,7 @@
   }
 
   // 璅�撌脰蝯�
-  markAsContact(appointmentId: number): Promise<ClientInfo> {
+  markAsContact(appointmentId: number): Promise<Appointment> {
     return http.post(`/appointment/markAsContacted/${appointmentId}`).then(res => res.data);
   }
 

--
Gitblit v1.8.0