From 40ba87b958d3b53f2eef4f95eb3add6548f35006 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期五, 03 十二月 2021 11:18:48 +0800 Subject: [PATCH] [update] 我的顧問清單新增預約單歷史明細、預約單的更新API、預約單的邏輯刪除API --- pamapi/src/doc/顧問API/客戶的顧問清單.txt | 142 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 132 insertions(+), 10 deletions(-) diff --git "a/pamapi/src/doc/\351\241\247\345\225\217API/\345\256\242\346\210\266\347\232\204\351\241\247\345\225\217\346\270\205\345\226\256.txt" "b/pamapi/src/doc/\351\241\247\345\225\217API/\345\256\242\346\210\266\347\232\204\351\241\247\345\225\217\346\270\205\345\226\256.txt" index 5402bd7..fbe3e9d 100644 --- "a/pamapi/src/doc/\351\241\247\345\225\217API/\345\256\242\346\210\266\347\232\204\351\241\247\345\225\217\346\270\205\345\226\256.txt" +++ "b/pamapi/src/doc/\351\241\247\345\225\217API/\345\256\242\346\210\266\347\232\204\351\241\247\345\225\217\346\270\205\345\226\256.txt" @@ -3,19 +3,141 @@ response body: [ { - "agentNo": "12345", - "name": "皜祈岫��璆剖�", - "img": "", + "agentNo": "J149388015", + "name": "摰���", + "img": "avatar9.jpg", "expertise": [ - "鞎∪����", - "鞈頧宏" + "�摨瑁����", + "摮戊��", + "鞈閬��", + "璅暑��隡�", + "靽�瑼�/閬��", + "����" ], - "avgScore": 4.7, + "avgScore": 4.0, + "contactStatus": "reserved", // ��脰�����icked (�脰����)�eserved (撌脤���)�ontacted (撌脤��蝜�) + "createTime": "2021-12-02T10:55:53.939Z", // ��憿批������ + "updateTime": "2021-12-02T10:56:32.741Z", // ��餈����� + "role": "憡��蝬�鈭�", + "seniority": "22 撟� 8 ���", + "latestAppointmentId": 130, // ��敺�蝑��ID + "latestAppointmentDate": "2021-12-02T10:56:32.741Z", // ��敺�蝑�������� + "latestAppointmentScore": null, // ��敺�蝑����� (null�撠閰��) + "appointments": [ // 摰X撌脤���“��� + { + "id": 130, + "phone": "0938520091", + "email": "", + "contactType": "phone", + "gender": "female", + "age": "21-30", + "job": "��", + "requirement": "摮戊��,��������", + "communicateStatus": "reserved", + "hopeContactTime": "'蝳格��,蝳格���,蝳格����12:00~14:00,18:00~21:00'", + "otherRequirement": null, + "appointmentDate": "2021-12-02T10:56:32.741Z", + "lastModifiedDate": "2021-12-02T10:56:32.741Z", + "agentNo": "J149388015", + "customerId": 76, + "name": "��蝬�", + "consultantViewTime": null, + "consultantReadTime": null + } + ], + "new": true + }, + { + "agentNo": "B282677963", + "name": "�憒�", + "img": "avatar6.jpg", + "expertise": [ + "�摨瑁����", + "摮戊��", + "鞈閬��", + "璅暑��隡�", + "靽�瑼�/閬��", + "����" + ], + "avgScore": 1.0, + "contactStatus": "reserved", + "createTime": "2021-12-02T10:55:57.423Z", + "updateTime": "2021-12-02T10:56:56.946Z", + "role": "����蝬�鈭�", + "seniority": "30 撟� 8 ���", + "latestAppointmentId": 131, + "latestAppointmentDate": "2021-12-02T10:56:56.946Z", + "latestAppointmentScore": null, + "appointments": [ + { + "id": 131, + "phone": "0938520091", + "email": "", + "contactType": "phone", + "gender": "female", + "age": "21-30", + "job": "��", + "requirement": "摮戊��,��������", + "communicateStatus": "reserved", + "hopeContactTime": "'蝳格����9:00~12:00,12:00~14:00,14:00~18:00,18:00~21:00'", + "otherRequirement": null, + "appointmentDate": "2021-12-02T10:56:56.946Z", + "lastModifiedDate": "2021-12-02T10:56:56.946Z", + "agentNo": "B282677963", + "customerId": 76, + "name": "��蝬�", + "consultantViewTime": null, + "consultantReadTime": null + } + ], + "new": true + }, + { + "agentNo": "R221444250", + "name": "撏祠", + "img": "avatar10.jpg", + "expertise": [ + "�摨瑁����", + "摮戊��", + "鞈閬��", + "璅暑��隡�", + "靽�瑼�/閬��", + "����" + ], + "avgScore": 5.0, "contactStatus": "picked", - "updateTime": "2021-11-02T06:46:13.723Z", - "seniority": "4撟�2���", + "createTime": "2021-12-02T10:56:01.004Z", + "updateTime": null, "role": "����蝬�鈭�", - "new": false, - "latestAppointmentId": null + "seniority": "38 撟� ", + "latestAppointmentId": null, + "latestAppointmentDate": null, + "latestAppointmentScore": null, + "appointments": [], + "new": true + }, + { + "agentNo": "Z152717443", + "name": "隡���", + "img": "avatar3.jpg", + "expertise": [ + "�摨瑁����", + "摮戊��", + "鞈閬��", + "璅暑��隡�", + "靽�瑼�/閬��", + "����" + ], + "avgScore": 3.0, + "contactStatus": "picked", + "createTime": "2021-12-02T10:56:04.620Z", + "updateTime": null, + "role": "��陸靽蝬�鈭�", + "seniority": "17 撟� 1 ���", + "latestAppointmentId": null, + "latestAppointmentDate": null, + "latestAppointmentScore": null, // ��敺�蝑����� (null�撠閰��) + "appointments": [], + "new": true } ] -- Gitblit v1.8.0