This commit is contained in:
Your Name
2026-04-30 09:27:42 +08:00
parent dc899e4af4
commit eb782305e6
460 changed files with 10785 additions and 928 deletions
+11
View File
@@ -15,6 +15,17 @@ export function qywxCustomerStats() {
return request.get({ url: '/qywx.customer/stats' })
}
/**
* 标签维度统计:返回 { total_tags, total_relations, total_tagged_customers, groups[] }
* - groups[i].group_name / customer_count(组内最热门标签的客户数)
* - groups[i].tags[j].tag_id / tag_name / customer_count
*
* 用于:① 列表"按标签筛选"下拉 ② 标签维度面板抽屉
*/
export function qywxCustomerTagStats() {
return request.get({ url: '/qywx.customer/tagStats' })
}
/**
* 今日进入分布(事件流水零误差口径)
* 返回 { total, recent_time, hourly: number[24], by_state: [{state,count}] }