diff --git a/src/views/deposit/index.vue b/src/views/deposit/index.vue index a85c14d..267fa19 100644 --- a/src/views/deposit/index.vue +++ b/src/views/deposit/index.vue @@ -83,7 +83,7 @@ const columns: TableBaseColumns = [ negativeText: '取消', onPositiveClick: async () => { await safeClient(() => - client.api.admin.withdraw({ orderId: row.id }).approve.post({ + client.api.admin.deposit.approve({ orderId: row.id }).post({ reviewNote: `管理员通过于 ${dayjs().format('YYYY-MM-DD HH:mm:ss')}` }) ); @@ -108,8 +108,8 @@ const columns: TableBaseColumns = [ negativeText: '取消', onPositiveClick: async () => { await safeClient(() => - client.api.admin.withdraw({ orderId: row.id }).reject.post({ - rejectReason: `管理员拒绝于 ${dayjs().format('YYYY-MM-DD HH:mm:ss')}` + client.api.admin.deposit.reject({ orderId: row.id }).post({ + reviewNote: `管理员拒绝于 ${dayjs().format('YYYY-MM-DD HH:mm:ss')}` }) ); window.$message?.success('操作成功');