diff --git a/.env.development b/.env.development
index b87c5db..b17f756 100644
--- a/.env.development
+++ b/.env.development
@@ -2,4 +2,5 @@
# VITE_API_BASE='http://192.168.8.94:8080/'
# VITE_API_BASE='https://hwjb.homilychart.com/gold_htms_dev'
# VITE_API_BASE='http://54.251.137.151:10704/'
-VITE_API_BASE='http://192.168.8.225:8080/'
+# VITE_API_BASE='http://192.168.8.225:8080/'
+VITE_API_BASE='http://192.168.8.94:8080/'
diff --git a/src/router/index.js b/src/router/index.js
index 8716011..222fbd7 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -19,6 +19,7 @@ const router = createRouter({
{ path: '/refundAudit', name: "refundAudit", component: () => import("../views/audit/refundAudit.vue") },
// 金币消耗
{ path: '/coinConsume', name: "coinConsume", component: () => import("../views/consume/coinConsume.vue"),
+ redirect: '/coinConsume/add',// 重定向到新增页面
children: [
// 金币新增消耗
{ path: 'add', name: "addCoinConsume", component: () => import("../views/consume/addCoinConsume.vue") },
@@ -40,6 +41,7 @@ const router = createRouter({
{ path: '/beanRefund', name: "beanRefund", component: () => import("../views/refund/beanRefund.vue") },
// 客户账户明细
{ path: '/usergold', name: "usergold", component: () => import("../views/usergold/clientCount.vue"),
+ redirect: '/usergold/detail',// 重定向到客户账户明细页面
children: [
// 金币明细
{ path: 'detail', name: "clientCountDetail", component: () => import("../views/usergold/clientCountDetail.vue") },
diff --git a/src/util/request.js b/src/util/request.js
index 15579ed..541b9f3 100644
--- a/src/util/request.js
+++ b/src/util/request.js
@@ -1,13 +1,13 @@
import axios from 'axios'
// 创建axios实例
const service = axios.create({
- baseURL: import.meta.env.VITE_API_BASE,
+ baseURL: import.meta.env.VITE_API_BASE,//.env.development
timeout: 10000,
headers: {
'Content-Type': 'application/json'
},
// 设置请求头,指定请求体的格式为 JSON
- // 设置默认请求方法为 POST 这行对应的代码搁哪呢?
+ // 设置默认请求方法为 POST 这行对应的代码搁哪呢? util/http.js自己看
})
// 请求拦截器
diff --git a/src/views/usergold/clientCountBalance.vue b/src/views/usergold/clientCountBalance.vue
index d6c0e69..ea656c5 100644
--- a/src/views/usergold/clientCountBalance.vue
+++ b/src/views/usergold/clientCountBalance.vue
@@ -1,3 +1,550 @@
+
+
- 1111