1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import { http } from "./httpClient";
|
| import { Consultant } from "../models/consultant.model";
|
| class QueryConsultantService {
|
| // 推薦保險顧問
| async getRecommendConsultantList(): Promise<Consultant[]> {
| return http.get<Consultant[]>('/consultant/recommend').then((res) => res.data);
| }
|
| }
|
| export default new QueryConsultantService();
|
|