diff --git a/src/api/agent.js b/src/api/agent.js index 474543d..c6c387b 100644 --- a/src/api/agent.js +++ b/src/api/agent.js @@ -218,8 +218,12 @@ export function getWithdrawalList(params) { * 申请提现 * @param {object} params - 提现参数 * @param {number} params.amount - 提现金额 - * @param {string} params.payee_account - 收款账户 - * @param {string} params.payee_name - 收款人姓名 + * @param {number} params.withdraw_method - 提现方式:1=支付宝,2=银行卡 + * @param {string} params.payee_account - 收款账户(支付宝) + * @param {string} params.payee_name - 收款人姓名/持卡人姓名 + * @param {string} params.bank_name - 开户行(银行卡) + * @param {string} params.bank_card_no - 银行卡号(银行卡) + * @param {string} params.bank_reserved_mobile - 银行预留手机号(银行卡) */ export function applyWithdrawal(params) { return useApiFetch("/agent/withdrawal/apply").post(params).json(); diff --git a/src/views/Withdraw.vue b/src/views/Withdraw.vue index 83a7a8f..49963d0 100644 --- a/src/views/Withdraw.vue +++ b/src/views/Withdraw.vue @@ -23,26 +23,32 @@
- -

支付宝提现

+ +

{{ withdrawMethod === 1 ? "支付宝提现" : "银行卡提现" }}

-
- - - - - 可填写支付宝账户绑定的手机号 + +
+ + +
- + +
- - 收款人姓名 + - 请填写支付宝账户认证的真实姓名 +
+ + +
+ + + + + 可填写支付宝账户绑定的手机号 +
+ + +
+
+ + +
+
+ + +
+
+ + +
@@ -201,11 +238,8 @@