保誠-保戶業務員媒合平台
Mila
2021-10-25 df7e9c57ee754752e11ae0b4e2adb293d27e2f92
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
import { CommonService } from '~/plugins/api/common';
 
export default () => ({
    recommendConsultantList(){
        const debugData = [
            {
                id: 0,
                name: '張小美',
                img: 'https://randomuser.me/api/portraits/women/31.jpg',
                loginState: '上線',
                satisfaction: 4.8
            },
            {
                id: 1,
                name: '蔣帥哥',
                img: 'https://randomuser.me/api/portraits/men/32.jpg',
                loginState: '上線',
                satisfaction: 4
            },
            {
                id: 2,
                name: '林美女',
                img: 'https://randomuser.me/api/portraits/women/33.jpg',
                loginState: '離線',
                satisfaction: 5
            },
            {
                id: 3,
                name: '蔡美眉',
                img: 'https://randomuser.me/api/portraits/women/34.jpg',
                loginState: '上線',
                satisfaction: 4.3
            },
            {
                id: 4,
                name: '張小美',
                img: 'https://randomuser.me/api/portraits/women/35.jpg',
                loginState: '忙碌',
                satisfaction: 4.8
            },
            {
                id: 5,
                name: '蔣帥哥',
                img: 'https://randomuser.me/api/portraits/men/36.jpg',
                loginState: '離線',
                satisfaction: 4
            },
            {
                id: 6,
                name: '林美女',
                img: 'https://randomuser.me/api/portraits/women/37.jpg',
                loginState: '忙碌',
                satisfaction: 5
            },
            {
                id: 7,
                name: '蔡美眉',
                img: 'https://randomuser.me/api/portraits/women/38.jpg',
                loginState: '上線',
                satisfaction: 4.3
            }
        ]
        return CommonService.prototype.withDebugData(debugData, 'https://randomuser.me/api/')
    }
})
 
export interface Agents {
    id: number,
    name: string,
    img: string,
    loginState: string,
    satisfaction: number
  }