import service from '@/utils/request'

export const createMonthlyCard = (data) => service({ url: '/monthly-card/create', method: 'post', data })
export const renewMonthlyCard = (data) => service({ url: '/monthly-card/renew', method: 'post', data })
export const refundMonthlyCard = (id) => service({ url: '/monthly-card/refund?id=' + id, method: 'delete' })
export const getMonthlyCardList = (params) => service({ url: '/monthly-card/list', method: 'get', params })
