expert.js 514 Bytes
import { http, http_brand } from '@/main'

const getExpertList = params => {
  params.method = 'entmicro.api.operation.page'
  return http({
    url: 'rop-scrm-entmicro/router',
    method: 'POST',
    data: params,
    sign: true
  })
}

const getMerchantTree = params => {
  params.method = 'entmicro.api.common.findMerchantTreeByMerchantNo.list'
  return http({
    url: '/rop-scrm-entmicro/router',
    method: 'POST',
    data: params,
    sign: true
  })
}

export default { getExpertList, getMerchantTree }