// 引入 request 文件
import request from '@/common/api/request.js'
import {prveUrl} from './config.js'

export const exchange = (data) => {
    return request({
        url: prveUrl + '/user/redemption/exchange',
        method: 'post',
        data: data
    })
}
export const redemption = (data) => {
    return request({
        url: prveUrl + '/user/redemption',
        method: 'get',
        data: data
    })
}
