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 }}。