import { AjaxRequest } from "../index"; import urls from "./urls"; export default { // get数据 getPeriod() { let url = urls.getPeriod(); return AjaxRequest.get(url); }, getBillSummary(accountId) { let url = urls.getBillSummary(accountId); return AjaxRequest.get(url); }, getBillHosting(accountId) { let url = urls.getBillHosting(accountId); return AjaxRequest.get(url); }, getRecord(accountId, page, pageSize) { let url = urls.getFlow(accountId, page, pageSize); return AjaxRequest.get(url); }, getReceiptList(accountId) { let url = urls.getReceiptList(accountId); return AjaxRequest.get(url); }, getReceiptDetail(accountId, type) { let url = urls.getReceiptDetail(accountId, type); return AjaxRequest.get(url); } };