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 @@