Commit 03213e3254a798101189a9560d1a62bf6f1587ff

Authored by dhb52
1 parent 4ac28603

fix: [CRM-客户分析]更新http-client脚本,增加intervalType请求参数

yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/statistics/CrmStatisticsCustomerController.http
1 1 # == 1. 客户总量分析 ==
2 2 ### 1.1 客户总量分析(按日)
3   -GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
  3 +GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&intervalType=11&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
4 4 Authorization: Bearer {{token}}
5 5 tenant-id: {{adminTenentId}}
6 6  
7 7 ### 1.2 客户总量分析(按月)
8   -GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  8 +GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-date?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
9 9 Authorization: Bearer {{token}}
10 10 tenant-id: {{adminTenentId}}
11 11  
12 12 ### 1.3 客户总量统计(按用户)
13   -GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-user?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  13 +GET {{baseUrl}}/crm/statistics-customer/get-customer-summary-by-user?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
14 14 Authorization: Bearer {{token}}
15 15 tenant-id: {{adminTenentId}}
16 16  
17 17  
18 18 # == 2. 客户跟进次数分析 ==
19 19 ### 2.1 客户跟进次数分析(按日)
20   -GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-date?deptId=100&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
  20 +GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-date?deptId=100&intervalType=11&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
21 21 Authorization: Bearer {{token}}
22 22 tenant-id: {{adminTenentId}}
23 23  
24 24 ### 2.2 客户跟进次数分析(按月)
25   -GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-date?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  25 +GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-date?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
26 26 Authorization: Bearer {{token}}
27 27 tenant-id: {{adminTenentId}}
28 28  
29 29 ### 2.3 客户总量统计(按用户)
30   -GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-user?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  30 +GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-user?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
31 31 Authorization: Bearer {{token}}
32 32 tenant-id: {{adminTenentId}}
33 33  
34 34  
35 35 # == 3. 客户跟进方式分析 ==
36 36 ### 3.1 客户跟进方式分析
37   -GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-type?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  37 +GET {{baseUrl}}/crm/statistics-customer/get-followup-summary-by-type?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
38 38 Authorization: Bearer {{token}}
39 39 tenant-id: {{adminTenentId}}
40 40 tenant-id: {{adminTenentId}}
... ... @@ -42,7 +42,7 @@ tenant-id: {{adminTenentId}}
42 42  
43 43 # == 4. 客户成交周期 ==
44 44 ### 4.1 合同摘要信息(客户转化率页面)
45   -GET {{baseUrl}}/crm/statistics-customer/get-contract-summary?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  45 +GET {{baseUrl}}/crm/statistics-customer/get-contract-summary?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
46 46 Authorization: Bearer {{token}}
47 47 tenant-id: {{adminTenentId}}
48 48 tenant-id: {{adminTenentId}}
... ... @@ -50,19 +50,19 @@ tenant-id: {{adminTenentId}}
50 50  
51 51 # == 5. 客户成交周期 ==
52 52 ### 5.1 客户成交周期(按日)
53   -GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
  53 +GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&intervalType=11&times[0]=2024-01-01 00:00:00&times[1]=2024-01-29 23:59:59
54 54 Authorization: Bearer {{token}}
55 55 tenant-id: {{adminTenentId}}
56 56 tenant-id: {{adminTenentId}}
57 57  
58 58 ### 5.2 客户成交周期(按月)
59   -GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  59 +GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-date?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
60 60 Authorization: Bearer {{token}}
61 61 tenant-id: {{adminTenentId}}
62 62 tenant-id: {{adminTenentId}}
63 63  
64 64 ### 5.3 获取客户成交周期(按用户)
65   -GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-user?deptId=100&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
  65 +GET {{baseUrl}}/crm/statistics-customer/get-customer-deal-cycle-by-user?deptId=100&intervalType=11&times[0]=2023-01-01 00:00:00&times[1]=2024-12-12 23:59:59
66 66 Authorization: Bearer {{token}}
67 67 tenant-id: {{adminTenentId}}
68 68 tenant-id: {{adminTenentId}}
69 69 \ No newline at end of file
... ...