zhangwencui
8 小时以前 c435f1c060982615c4ad0c3049b14ca84babe0df
src/api/basicData/customerFile.js
@@ -42,10 +42,36 @@
    })
}
// 删除客户档案
export function delCustomer(id) {
export function delCustomer(ids) {
    return request({
        url: '/basic/customer/' + id,
        method: 'delete'
        url: '/basic/customer/delCustomer',
        method: 'delete',
        data: ids
    })
}
// 新增客户跟进
export function addCustomerFollow(data) {
    return request({
        url: '/basic/customer-follow/add',
        method: 'post',
        data: data
    })
}
// 修改客户跟进
export function updateCustomerFollow(data) {
  return request({
    url: '/basic/customer-follow/edit',
    method: 'put',
    data: data,
  })
}
// 删除客户跟进
export function delCustomerFollow(id) {
    return request({
        url: '/basic/customer-follow/'+id,
        method: 'delete',
    })
}