acdr-ui/dist/dev/mp-weixin/sheep/api/pay/wallet.js.map

1 line
3.0 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"wallet.js","sources":["../../../../../../src/sheep/api/pay/wallet.js"],"sourcesContent":["import request from '@/sheep/request'\r\n\r\nconst PayWalletApi = {\r\n // 获取钱包\r\n getPayWallet() {\r\n return request({\r\n url: '/pay/wallet/get',\r\n method: 'GET',\r\n custom: {\r\n showLoading: false,\r\n auth: true,\r\n },\r\n })\r\n },\r\n // 获得钱包流水分页\r\n getWalletTransactionPage: (params) => {\r\n const queryString = Object.keys(params)\r\n .map((key) => encodeURIComponent(key) + '=' + params[key])\r\n .join('&')\r\n return request({\r\n url: `/pay/wallet-transaction/page?${queryString}`,\r\n method: 'GET',\r\n })\r\n },\r\n // 获得钱包流水统计\r\n getWalletTransactionSummary: (params) => {\r\n const queryString = `createTime=${params.createTime[0]}&createTime=${params.createTime[1]}`\r\n return request({\r\n url: `/pay/wallet-transaction/get-summary?${queryString}`,\r\n // url: `/pay/wallet-transaction/get-summary`,\r\n method: 'GET',\r\n // params: params\r\n })\r\n },\r\n // 获得钱包充值套餐列表\r\n getWalletRechargePackageList: () => {\r\n return request({\r\n url: '/pay/wallet-recharge-package/list',\r\n method: 'GET',\r\n custom: {\r\n showError: false,\r\n showLoading: false,\r\n },\r\n })\r\n },\r\n // 创建钱包充值记录(发起充值)\r\n createWalletRecharge: (data) => {\r\n return request({\r\n url: '/pay/wallet-recharge/create',\r\n method: 'POST',\r\n data,\r\n })\r\n },\r\n // 获得钱包充值记录分页\r\n getWalletRechargePage: (params) => {\r\n return request({\r\n url: '/pay/wallet-recharge/page',\r\n method: 'GET',\r\n params,\r\n custom: {\r\n showError: false,\r\n showLoading: false,\r\n },\r\n })\r\n },\r\n}\r\n\r\nexport default PayWalletApi\r\n"],"names":["request"],"mappings":";;AAEK,MAAC,eAAe;AAAA;AAAA,EAEnB,eAAe;AACb,WAAOA,4BAAQ;AAAA,M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