Commit bd06a53a by Lin

feat(api): 新增多个轻改业务和营销活动相关接口

- 在activity.js中新增获取营销活动状态、商品列表及待执行客户的接口
- 在common.js中新增预学习首页弹框及扣减跳过次数的接口
- 在customerApi.js中新增客户建档详情、提交、分页查询及获取客户群和群成员信息的接口
1 parent 4c57b86f
......@@ -47,4 +47,32 @@ module.exports = {
...data
})
},
/**
* 轻改营销活动改版接口
*/
// 1、查询策略首页数据状态(营销活动和客户列表是否有数据)
getActivityStatusAPI(data) {
return http.post({
method: 'dj.pad.api.strategy.data.status',
projectName: 'pad',
...data
})
},
// 2、查询当前进行中的营销活动商品列表
getActivityProductListAPI(data) {
return http.post({
method: 'dj.pad.api.active.marketing.activity.product.list',
projectName: 'pad',
...data
})
},
// 2、查询今日待执行触达客户
getTaskCustomerPageAPI(data) {
return http.post({
method: 'dj.pad.api.today.sop.task.customer.page',
projectName: 'pad',
...data
})
},
}
......@@ -720,4 +720,24 @@ module.exports = {
...data
})
},
/**
* 预学习首页弹框
*/
getPrelernHomePopupAPI(data = {}) {
return http.post({
method: 'dj.api.pad.prelearn.home.popup',
projectName: 'boutique',
...data
})
},
/**
* 预学习-扣减跳过次数
*/
deductSkipCountAPI(data = {}) {
return http.post({
method: 'dj.api.pad.prelearn.deduct.skip',
projectName: 'boutique',
...data
})
},
}
......@@ -156,4 +156,59 @@ module.exports = {
...data
})
},
/**
* 轻改业务改版
* 1、客户建档详情
*/
customerProfileInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.customerProfileInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 2、客户建档提交
*/
csubmitCustomerProfileAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.submitCustomerProfile',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 3、客户建档分页查询
*/
pageCustomerProfileInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.pageCustomerProfileInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 3、获取客户群信息
*/
getCustomerGroupInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.getCustomerGroupInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 4、获取群成员信息
*/
getCustomerGroupMemberInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.getCustomerGroupMemberInfo',
projectName: 'pad',
...data
})
},
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!