"use strict";const t=require("../../request/index.js"),l={getPayWallet(){return t.request({url:"/pay/wallet/get",method:"GET",custom:{showLoading:!1,auth:!0}})},getWalletTransactionPage:e=>{const a=Object.keys(e).map(r=>encodeURIComponent(r)+"="+e[r]).join("&");return t.request({url:`/pay/wallet-transaction/page?${a}`,method:"GET"})},getWalletTransactionSummary:e=>{const a=`createTime=${e.createTime[0]}&createTime=${e.createTime[1]}`;return t.request({url:`/pay/wallet-transaction/get-summary?${a}`,method:"GET"})},getWalletRechargePackageList:()=>t.request({url:"/pay/wallet-recharge-package/list",method:"GET",custom:{showError:!1,showLoading:!1}}),createWalletRecharge:e=>t.request({url:"/pay/wallet-recharge/create",method:"POST",data:e}),getWalletRechargePage:e=>t.request({url:"/pay/wallet-recharge/page",method:"GET",params:e,custom:{showError:!1,showLoading:!1}})};exports.PayWalletApi=l;