15 lines
476 B
JavaScript
15 lines
476 B
JavaScript
import Vue from 'vue';
|
|
|
|
async function getChargeStatus(startDate, endDate) {
|
|
return Vue.axios.get('/admin/charge/status?startDateStr=' + startDate + '&endDateStr=' + endDate);
|
|
}
|
|
|
|
async function getChargeStatusDetail(startDate, paymentGateway, currency) {
|
|
return Vue.axios.get('/admin/charge/status/detail?startDateStr=' + startDate
|
|
+ '&paymentGateway=' + paymentGateway
|
|
+ '¤cy=' + currency
|
|
);
|
|
}
|
|
|
|
export { getChargeStatus, getChargeStatusDetail }
|