From 11b24c4c2c2d9042ccff245a70c208c0fdacdeb6 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期三, 15 十二月 2021 17:47:17 +0800 Subject: [PATCH] Merge branch 'master' of https://dev.pollex.com.tw:8443/r/pcalife/PAM --- PAMapp/assets/ts/services/my-consultant.service.ts | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/PAMapp/assets/ts/services/my-consultant.service.ts b/PAMapp/assets/ts/services/my-consultant.service.ts index 4f4c686..c27a41d 100644 --- a/PAMapp/assets/ts/services/my-consultant.service.ts +++ b/PAMapp/assets/ts/services/my-consultant.service.ts @@ -1,5 +1,6 @@ import { http } from "./httpClient"; +import { AgentInfo } from '~/assets/ts/models/agent-info.model'; import { Consultant } from "../models/consultant.model"; class MyConsultantService { @@ -18,6 +19,11 @@ http.post('/consultant/favorite/view'); } + //憿批�底蝝啗��� + async getConsultantDetail(agentNo:string): Promise<AgentInfo> { + return http.get('/consultant/detail', {params:{agentNo:agentNo}}).then((res) => res.data); + } + } export default new MyConsultantService(); -- Gitblit v1.8.0