From c7610958345308f88d182bfc43f1446be392c5e8 Mon Sep 17 00:00:00 2001 From: dute7liang <383200134@qq.com> Date: Sat, 27 Jan 2024 22:21:16 +0800 Subject: [PATCH] init --- src/api/cai/withdrawExchange.js | 44 ++++++++ src/views/cai/goods/index.vue | 3 +- src/views/cai/withdrawExchange/index.vue | 127 +++++++++++++++++++++++ 3 files changed, 172 insertions(+), 2 deletions(-) create mode 100644 src/api/cai/withdrawExchange.js create mode 100644 src/views/cai/withdrawExchange/index.vue diff --git a/src/api/cai/withdrawExchange.js b/src/api/cai/withdrawExchange.js new file mode 100644 index 0000000..0772e62 --- /dev/null +++ b/src/api/cai/withdrawExchange.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询提现兑换配置列表 +export function listWithdrawExchange(query) { + return request({ + url: '/cai/withdrawExchange/list', + method: 'get', + params: query + }) +} + +// 查询提现兑换配置详细 +export function getWithdrawExchange(id) { + return request({ + url: '/cai/withdrawExchange/' + id, + method: 'get' + }) +} + +// 新增提现兑换配置 +export function addWithdrawExchange(data) { + return request({ + url: '/cai/withdrawExchange', + method: 'post', + data: data + }) +} + +// 修改提现兑换配置 +export function updateWithdrawExchange(data) { + return request({ + url: '/cai/withdrawExchange', + method: 'put', + data: data + }) +} + +// 删除提现兑换配置 +export function delWithdrawExchange(id) { + return request({ + url: '/cai/withdrawExchange/' + id, + method: 'delete' + }) +} diff --git a/src/views/cai/goods/index.vue b/src/views/cai/goods/index.vue index fb7568f..b3abbaf 100644 --- a/src/views/cai/goods/index.vue +++ b/src/views/cai/goods/index.vue @@ -62,8 +62,7 @@