diff --git a/.env.development b/.env.development index 9ea4291..12a4bf3 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 电动车租赁系统/开发环境 # VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://localhost:8090' +VUE_APP_BASE_API = 'http://192.168.2.21:8090' # VUE_APP_BASE_API = 'https://zc.chuangtewl.com' # VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' diff --git a/.env.production b/.env.production index bbeca68..20b6401 100644 --- a/.env.production +++ b/.env.production @@ -8,5 +8,5 @@ ENV = 'production' # VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = 'http://192.168.2.21:8090' # VUE_APP_BASE_API = 'https://zc.chuangtewl.com' -VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' +# VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' diff --git a/src/api/rl/withdraw.js b/src/api/rl/withdraw.js index 4df9197..4d3acd7 100644 --- a/src/api/rl/withdraw.js +++ b/src/api/rl/withdraw.js @@ -42,3 +42,18 @@ export function delWithdraw(id) { method: 'delete' }) } + +export function getuserWithdraw(id) { + return request({ + url: '/user/user/getUserWithdrawChannelList?userId=' + id, + method: 'get' + }) +} +// 修改提现记录 +export function putuserWithdraw(data) { + return request({ + url: '/user/user/eidtUserWithdrawChannel', + method: 'put', + data: data + }) +} \ No newline at end of file diff --git a/src/api/system/user.js b/src/api/system/user.js index b3cd10f..75e97c6 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -134,3 +134,11 @@ export function deptTreeSelect() { method: 'get' }) } +// 查询代理商下的商户 +export function getMerchantList(query) { + return request({ + url: '/user/user/getMerchantList', + method: 'get', + params: query + }) +} diff --git a/src/views/system/agent/index.vue b/src/views/system/agent/index.vue index 3641358..413d94d 100644 --- a/src/views/system/agent/index.vue +++ b/src/views/system/agent/index.vue @@ -122,35 +122,38 @@ /> - - - + + + - + - + - + - + - + - + - + - + + + +