From a415eb818e3a5730bdb3ab8cd1135f70cc495b1b Mon Sep 17 00:00:00 2001 From: 77 <77@77.com> Date: Fri, 12 Apr 2024 00:53:33 +0800 Subject: [PATCH] 123 --- src/api/cai/accountCash.js | 4 ++-- src/views/cai/accountCash/index.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/cai/accountCash.js b/src/api/cai/accountCash.js index e5d6bdf..5359f60 100644 --- a/src/api/cai/accountCash.js +++ b/src/api/cai/accountCash.js @@ -44,7 +44,7 @@ export function accountCashClose(id) { export function accountCashBatchSuccess(ids) { return request({ url: '/cai/accountCash/batchSuccess', - method: 'get', - params: {ids} + method: 'post', + data: {ids} }) } diff --git a/src/views/cai/accountCash/index.vue b/src/views/cai/accountCash/index.vue index 9af624c..d631c13 100644 --- a/src/views/cai/accountCash/index.vue +++ b/src/views/cai/accountCash/index.vue @@ -274,7 +274,7 @@ export default { }); }, handleBatchSuccess() { - const ids = this.ids.split(","); + const ids = this.ids; this.$modal.confirm('是否批量确认通过该提现?').then(() => { this.loading = true; return accountCashBatchSuccess(ids);