import request from '@/utils/request'

// 获取优惠码列表
export function getList(params) {
  return request({
    url: '/exchange/code/count/list',
    method: 'get',
    params
  })
}

export function getWebsiteList(params) {
  return request({
    url: '/websit/list',
    method: 'get',
    params
  })
}

// 获取优惠码详情
export function getDetail(params) {
  return request({
    url: '/exchange/code/list',
    method: 'get',
    params
  })
}