import request from '@/utils/request'

// 交易对手
export function getCounterpartyList(params) {
  return request({
    url: '/salesContract/get/page',
    method: 'get',
    params
  })
}

// 我的收款列表
export function getList(data) {
  return request({
    url: '/receivePayment/get/page',
    method: 'post',
    data
  })
}

export function getReceiveDetail(params) {
  return request({
    url: '/receivePayment/get/detail',
    method: 'get',
    params
  })
}
