customerCommission.js 808 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
import request from '@/utils/request'


// 删除客户佣金类型
export function deleteCustomerCommission(id) {
  return request({
    url: '/ecw/customer-commission/delete?id=' + id,
    method: 'delete'
  })
}


// 获得客户佣金类型分页
export function getCustomerCommissionPage(query) {
  return request({
    url: '/ecw/customer-commission/page',
    method: 'get',
    params: query
  })
}

// 导出客户佣金类型 Excel
export function exportCustomerCommissionExcel(query) {
  return request({
    url: '/ecw/customer-commission/export-excel',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}

dragondean@qq.com's avatar
dragondean@qq.com committed
32 33 34 35 36 37 38 39 40
//
export function getDarkReturnCommission(data){
  return request({
    url: '/ecw/customer-commission/get-dark-return-commission',
    method: 'post',
    data
  })
  
}