From d1770b7cf42490157e797ca541436ac91b5bec35 Mon Sep 17 00:00:00 2001 From: lijingyu007 <904564792@qq.com> Date: Tue, 25 Jun 2024 19:13:49 +0800 Subject: [PATCH] v1.0.1 --- .env.development | 4 +- .env.production | 5 ++- src/api/pay/withdrawal.js | 9 +++++ src/views/pay/account/index.vue | 65 ++++++++++++++++++++++++++++++ src/views/pay/withdrawal/index.vue | 2 - 5 files changed, 79 insertions(+), 6 deletions(-) create mode 100644 src/views/pay/account/index.vue diff --git a/.env.development b/.env.development index 32f1e1f..ca176a9 100644 --- a/.env.development +++ b/.env.development @@ -4,8 +4,8 @@ ENV = 'development' # KeySaas测试云平台/开发环境 VUE_APP_BASE_API = '/prod-api' -# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' +# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' # VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' diff --git a/.env.production b/.env.production index 064e93c..264cafb 100644 --- a/.env.production +++ b/.env.production @@ -6,6 +6,7 @@ VUE_APP_BASE_API = '/prod-api' # VUE_APP_BASE_API = '/test-api' # VUE_APP_BASE_TARGET = 'https://www.keyitest.cn/prod-api' -VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' -# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' +# VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999' +# VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/test-api' +VUE_APP_BASE_TARGET = 'http://www.bjkeyware.com/prod-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/prod-api' diff --git a/src/api/pay/withdrawal.js b/src/api/pay/withdrawal.js index 7dd9fb5..38ed1c0 100644 --- a/src/api/pay/withdrawal.js +++ b/src/api/pay/withdrawal.js @@ -45,4 +45,13 @@ export function getRechargeList(param) { params: param, }) +} + +// 账户信息 +export function userAccount(param) { + return request({ + url: '/mpay/account/list', + method: 'get', + params: param, + }) } \ No newline at end of file diff --git a/src/views/pay/account/index.vue b/src/views/pay/account/index.vue new file mode 100644 index 0000000..a6afd71 --- /dev/null +++ b/src/views/pay/account/index.vue @@ -0,0 +1,65 @@ + + + + + \ No newline at end of file diff --git a/src/views/pay/withdrawal/index.vue b/src/views/pay/withdrawal/index.vue index 3a0240f..cbb15e6 100644 --- a/src/views/pay/withdrawal/index.vue +++ b/src/views/pay/withdrawal/index.vue @@ -102,8 +102,6 @@ export default { async getList() { this.loading = true try { - const data = await getPayList() - console.log(data) const res = await getPayRecordList(this.queryParam) this.total = res.total this.payList = res.rows