From ae584629bd807686ae77ff048348369a58d31ff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=90=E6=98=8E=E6=98=8E?= <970899069@qq.com> Date: Sun, 12 Jun 2022 13:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=EF=BC=8C=E8=B0=83=E6=95=B4=E7=94=A8=E6=88=B7=E4=BC=9A?= =?UTF-8?q?=E5=91=98=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/index.js | 2 +- apis/interfaces/account.js | 11 +- pages/account/recharge.vue | 49 +- pages/user/index.vue | 1 - pages/vip/vip.vue | 22 +- unpackage/dist/dev/app-plus/app-service.js | 2797 ++- unpackage/dist/dev/app-plus/app-view.js | 17033 +++++++++---------- 7 files changed, 9833 insertions(+), 10082 deletions(-) diff --git a/apis/index.js b/apis/index.js index 0e2e535..79c1f8c 100644 --- a/apis/index.js +++ b/apis/index.js @@ -10,7 +10,7 @@ import router from '../router' // 基础配置 const config = { - apiUrl : 'http://api.gl.shangkelian.cn/api/', // 正式环境 + apiUrl : 'https://api.gongli.vip/api/', // 正式环境 // apiUrl : 'http://api.zh.shangkelian.cn/api/', // 大健康调试环境,目前没有任何数据无法正常显示,所以需要使用该环境,最后会删除 timeout : 60000 } diff --git a/apis/interfaces/account.js b/apis/interfaces/account.js index 22f530a..939dd0e 100644 --- a/apis/interfaces/account.js +++ b/apis/interfaces/account.js @@ -19,6 +19,7 @@ const dt = (data) =>{ // 充值 const recharge = (data) => { + console.log(data) return request({ url: "user/transaction/recharge", method: "POST", @@ -89,6 +90,13 @@ const integral = () => { }) } +// 快捷支付配置 +const paymentpre = () => { + return request({ + url: 'user/transaction/recharge/paymentpre' + }) +} + export { dt, recharge, @@ -99,5 +107,6 @@ export { setpassword, getSms, submitTransfer, - integral + integral, + paymentpre } diff --git a/pages/account/recharge.vue b/pages/account/recharge.vue index 6dbbb48..881d54d 100644 --- a/pages/account/recharge.vue +++ b/pages/account/recharge.vue @@ -9,35 +9,17 @@ - + 快速充值 - - 100 - 100DT积分 - - - 200 - 200DT积分 - - - 500 - 500DT积分 - - - 1000 - 1000DT积分 - - - 3000 - 3000DT积分 - - - 5000 - 5000DT积分 - + + + {{item.price}} + {{item.dt}}DT积分 + + @@ -48,13 +30,24 @@