热门产品前端页面
This commit is contained in:
@@ -43,19 +43,27 @@ export function delProductSalesScript(scriptId) {
|
||||
})
|
||||
}
|
||||
|
||||
// 记录话术访问频率
|
||||
export function recordVisit(productId) {
|
||||
return request({
|
||||
url: '/klp/productSalesScript/recordVisit/' + productId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
// // 记录话术访问频率
|
||||
// export function recordVisit(productId) {
|
||||
// return request({
|
||||
// url: '/klp/productSalesScript/recordVisit/' + productId,
|
||||
// method: 'post'
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取热门产品排行
|
||||
export function getHotProducts(limit = 10) {
|
||||
// // 获取热门产品排行
|
||||
// export function getHotProducts(limit = 10) {
|
||||
// return request({
|
||||
// url: '/klp/productSalesScript/hotProducts',
|
||||
// method: 'get',
|
||||
// params: { limit }
|
||||
// })
|
||||
// }
|
||||
|
||||
// 获取产品咨询热度排行
|
||||
export function getProductRanking() {
|
||||
return request({
|
||||
url: '/klp/productSalesScript/hotProducts',
|
||||
method: 'get',
|
||||
params: { limit }
|
||||
url: '/klp/productSalesScript/dashboard/ranking',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user