You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
901 B

"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;