From 0888b7e4120c08d639452523e675ee8a3477e2bc Mon Sep 17 00:00:00 2001
From: "3321822538@qq.com" <3321822538@qq.com>
Date: Sun, 6 Oct 2024 18:02:38 +0800
Subject: [PATCH] 11
---
common/http.interceptor.js | 4 ++--
page_user/fuwu.vue | 11 ++++-------
page_user/orderlist.vue | 2 +-
3 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/common/http.interceptor.js b/common/http.interceptor.js
index 651daaf..d3b08ad 100644
--- a/common/http.interceptor.js
+++ b/common/http.interceptor.js
@@ -19,8 +19,8 @@ const install = (Vue, vm) => {
// },
// });
Vue.prototype.$u.http.setConfig({
- baseUrl: 'http://192.168.2.81:3302',
- // baseUrl: 'https://kang.chuangtewl.com/prod-api',
+ // baseUrl: 'http://192.168.2.81:3302',
+ baseUrl: 'https://kang.chuangtewl.com/prod-api',
loadingText: '努力加载中~',
loadingTime: 800,
// 设置自定义头部content-type
diff --git a/page_user/fuwu.vue b/page_user/fuwu.vue
index dfb4bdc..9cc22f9 100644
--- a/page_user/fuwu.vue
+++ b/page_user/fuwu.vue
@@ -397,18 +397,15 @@
}
})
that.$u.get(`/app/bill/recharge/${dingobj}/bluetoothSuccess`).then(res => {
- if (res.code == 200) {
+ // if (res.code == 200) {
that.zhifuflag = true
console.log('蓝牙离线充值成功11')
- setTimeout
- (() => {
+ setTimeout(() => {
uni.navigateTo({
url: '/page_fenbao/dingdan?billId=' + that.billId
})
- },
- 1000
- )
- }
+ },1000)
+ // }
}
)
}
diff --git a/page_user/orderlist.vue b/page_user/orderlist.vue
index a7feca0..e83d794 100644
--- a/page_user/orderlist.vue
+++ b/page_user/orderlist.vue
@@ -61,7 +61,7 @@
套餐时长
- {{item.suitTime}}{{item.timeUnit == 3 ? '分钟' : '小时'}}
+ {{item.suitTime}}{{item.suitTimeUnit == 3 ? '分钟' : '小时'}}
合作伙伴信息