beforeSale.js 517 Bytes
import { http } from '@/main'

const defaultPath = 'scrm.api.equity.service.package.'

const getListApi = params => {
  params.method = `${defaultPath}order.list.get`
  return http({
    url: 'rop-scrm-equity/router',
    method: 'GET',
    data: params,
    sign: true
  })
}

const getExportApi = params => {
  params.method = `${defaultPath}order.export.get`
  return http({
    url: 'rop-scrm-equity/router',
    method: 'GET',
    data: params,
    sign: true
  })
}

export default { getListApi, getExportApi }