diff --git a/.env.production b/.env.production index eb16d91..a6a833d 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,4 @@ ENV = 'production' # 电动车租赁系统/生产环境 # VUE_APP_BASE_API = '/prod-api' -VUE_APP_BASE_API = 'http://192.168.2.21:8090' \ No newline at end of file +VUE_APP_BASE_API = 'https://zc.chuangtewl.com' diff --git a/src/api/rl/userWithdraw.js b/src/api/rl/userWithdraw.js new file mode 100644 index 0000000..608635a --- /dev/null +++ b/src/api/rl/userWithdraw.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询用户提现渠道列表 +export function listUserWithdraw(query) { + return request({ + url: '/system/userWithdraw/list', + method: 'get', + params: query + }) +} + +// 查询用户提现渠道详细 +export function getUserWithdraw(userChannelId) { + return request({ + url: '/system/userWithdraw/' + userChannelId, + method: 'get' + }) +} + +// 新增用户提现渠道 +export function addUserWithdraw(data) { + return request({ + url: '/system/userWithdraw', + method: 'post', + data: data + }) +} + +// 修改用户提现渠道 +export function updateUserWithdraw(data) { + return request({ + url: '/system/userWithdraw', + method: 'put', + data: data + }) +} + +// 删除用户提现渠道 +export function delUserWithdraw(userChannelId) { + return request({ + url: '/system/userWithdraw/' + userChannelId, + method: 'delete' + }) +} diff --git a/src/views/system/userWithdraw/index.vue b/src/views/system/userWithdraw/index.vue new file mode 100644 index 0000000..9f8d755 --- /dev/null +++ b/src/views/system/userWithdraw/index.vue @@ -0,0 +1,370 @@ + + +