更新
This commit is contained in:
@@ -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}] }
|
||||
|
||||
Reference in New Issue
Block a user