热门产品销售看板

This commit is contained in:
2025-07-26 10:18:16 +08:00
parent a78bf64529
commit bb42f9c5b7
11 changed files with 363 additions and 4 deletions

View File

@@ -42,3 +42,20 @@ export function delProductSalesScript(scriptId) {
method: 'delete'
})
}
// 记录话术访问频率
export function recordVisit(productId) {
return request({
url: '/klp/productSalesScript/recordVisit/' + productId,
method: 'post'
})
}
// 获取热门产品排行
export function getHotProducts(limit = 10) {
return request({
url: '/klp/productSalesScript/hotProducts',
method: 'get',
params: { limit }
})
}