diff --git a/src/api/wallet.js b/src/api/wallet.js index 57ed47fb..1566d815 100644 --- a/src/api/wallet.js +++ b/src/api/wallet.js @@ -1,5 +1,15 @@ import api from "./api.js"; +/** + * 获取钱包配置信息 + * @author mutoe + * @export + * @returns + */ +export function getWalletInfo() { + return api.get("/wallet", { validateStatus: s => s === 200 }); +} + /** * 获取钱包流水 * @author mutoe diff --git a/src/page/wallet/WalletRecharge.vue b/src/page/wallet/WalletRecharge.vue index 4c2a5685..19688463 100644 --- a/src/page/wallet/WalletRecharge.vue +++ b/src/page/wallet/WalletRecharge.vue @@ -9,12 +9,12 @@

选择充值金额

+ @click="chooseDefaultAmount(item)">{{ item.toFixed(2) }}
@@ -66,18 +66,30 @@