Commit 71c3163d by xinla

Merge remote-tracking branch 'origin/front_end_dev_1.5'

2 parents 9af1a0a4 7fd8cdc6
......@@ -15,7 +15,7 @@ const service = window.CONFIG.services.wecom + '/customer'
status: 0 客户状态 0正常 1删除
}
*/
export function getList(params) {
export function getListNew(params) {
return request({
url: service + '/findWeCustomerList',
method: 'get',
......@@ -23,6 +23,14 @@ export function getList(params) {
})
}
export function getList(params) {
return request({
url: service + '/list',
method: 'get',
params
})
}
/**
* 客户同步接口
*/
......
......@@ -75,7 +75,7 @@ export default {
page && (this.query.pageNum = page)
this.loading = true
api
.getList(this.query)
.getListNew(this.query)
.then(({ rows, total }) => {
this.list = rows
this.total = +total
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!