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 # == 1. 客户总量分析 ==
2 ### 1.1 客户总量分析(按日) 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 Authorization: Bearer {{token}} 4 Authorization: Bearer {{token}}
5 tenant-id: {{adminTenentId}} 5 tenant-id: {{adminTenentId}}
6 6
7 ### 1.2 客户总量分析(按月) 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 Authorization: Bearer {{token}} 9 Authorization: Bearer {{token}}
10 tenant-id: {{adminTenentId}} 10 tenant-id: {{adminTenentId}}
11 11
12 ### 1.3 客户总量统计(按用户) 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 Authorization: Bearer {{token}} 14 Authorization: Bearer {{token}}
15 tenant-id: {{adminTenentId}} 15 tenant-id: {{adminTenentId}}
16 16
17 17
18 # == 2. 客户跟进次数分析 == 18 # == 2. 客户跟进次数分析 ==
19 ### 2.1 客户跟进次数分析(按日) 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 Authorization: Bearer {{token}} 21 Authorization: Bearer {{token}}
22 tenant-id: {{adminTenentId}} 22 tenant-id: {{adminTenentId}}
23 23
24 ### 2.2 客户跟进次数分析(按月) 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 Authorization: Bearer {{token}} 26 Authorization: Bearer {{token}}
27 tenant-id: {{adminTenentId}} 27 tenant-id: {{adminTenentId}}
28 28
29 ### 2.3 客户总量统计(按用户) 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 Authorization: Bearer {{token}} 31 Authorization: Bearer {{token}}
32 tenant-id: {{adminTenentId}} 32 tenant-id: {{adminTenentId}}
33 33
34 34
35 # == 3. 客户跟进方式分析 == 35 # == 3. 客户跟进方式分析 ==
36 ### 3.1 客户跟进方式分析 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 Authorization: Bearer {{token}} 38 Authorization: Bearer {{token}}
39 tenant-id: {{adminTenentId}} 39 tenant-id: {{adminTenentId}}
40 tenant-id: {{adminTenentId}} 40 tenant-id: {{adminTenentId}}
@@ -42,7 +42,7 @@ tenant-id: {{adminTenentId}} @@ -42,7 +42,7 @@ tenant-id: {{adminTenentId}}
42 42
43 # == 4. 客户成交周期 == 43 # == 4. 客户成交周期 ==
44 ### 4.1 合同摘要信息(客户转化率页面) 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 Authorization: Bearer {{token}} 46 Authorization: Bearer {{token}}
47 tenant-id: {{adminTenentId}} 47 tenant-id: {{adminTenentId}}
48 tenant-id: {{adminTenentId}} 48 tenant-id: {{adminTenentId}}
@@ -50,19 +50,19 @@ tenant-id: {{adminTenentId}} @@ -50,19 +50,19 @@ tenant-id: {{adminTenentId}}
50 50
51 # == 5. 客户成交周期 == 51 # == 5. 客户成交周期 ==
52 ### 5.1 客户成交周期(按日) 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 Authorization: Bearer {{token}} 54 Authorization: Bearer {{token}}
55 tenant-id: {{adminTenentId}} 55 tenant-id: {{adminTenentId}}
56 tenant-id: {{adminTenentId}} 56 tenant-id: {{adminTenentId}}
57 57
58 ### 5.2 客户成交周期(按月) 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 Authorization: Bearer {{token}} 60 Authorization: Bearer {{token}}
61 tenant-id: {{adminTenentId}} 61 tenant-id: {{adminTenentId}}
62 tenant-id: {{adminTenentId}} 62 tenant-id: {{adminTenentId}}
63 63
64 ### 5.3 获取客户成交周期(按用户) 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 Authorization: Bearer {{token}} 66 Authorization: Bearer {{token}}
67 tenant-id: {{adminTenentId}} 67 tenant-id: {{adminTenentId}}
68 tenant-id: {{adminTenentId}} 68 tenant-id: {{adminTenentId}}
69 \ No newline at end of file 69 \ No newline at end of file