From 082653d8b88b046a3b75cdce82fefc255608a0e5 Mon Sep 17 00:00:00 2001 From: ZhangYong Date: Wed, 6 Aug 2025 18:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=85=85=E5=80=BC=E9=87=91?= =?UTF-8?q?=E5=B8=81=E6=80=BB=E6=95=B0=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/views/recharge/beanSystemRecharge.vue | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.env.development b/.env.development index ab14f16..cc4b62a 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ # VITE_API_BASE='https://hwjb.homilychart.com/dev/admin' # 测试环境 -# VITE_API_BASE='http://54.255.212.181:10704/' + VITE_API_BASE='http://54.255.212.181:10704/' # 正式环境 # VITE_API_BASE='http://54.255.212.181:10705/' VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload @@ -11,4 +11,4 @@ VITE_UPLOAD_URL=http://39.101.133.168:8828/hljw/api/aws/upload # zhangyong # VITE_API_BASE='http://192.168.3.83:8081/' # 本地 - VITE_API_BASE='http://localhost:10704/' + # VITE_API_BASE='http://localhost:10704/' diff --git a/src/views/recharge/beanSystemRecharge.vue b/src/views/recharge/beanSystemRecharge.vue index 5141fdb..d5e132e 100644 --- a/src/views/recharge/beanSystemRecharge.vue +++ b/src/views/recharge/beanSystemRecharge.vue @@ -15,6 +15,7 @@ const selectData = ref({ }) const permanentBeans = ref(0) +const freeBean = ref(0) const beanNum = ref(0) const money = ref(0) const defaultTime = [ @@ -43,6 +44,7 @@ const getTotalBeans = async () => { }) if (result.code == 200) { permanentBeans.value = result.data.permanentBean + freeBean.value = result.data.freeBean beanNum.value = result.data.beanNum money.value = result.data.money console.log('金豆总数获取成功'); @@ -368,7 +370,7 @@ onMounted(async function () { 金豆总数:{{ beanNum }} , 充值金豆数:{{ permanentBeans }} - , 合计新币数:{{ money }}。 + , 免费金豆数:{{ freeBean }}。