From 25a25f620b016505a629b9c7565ea1c01864adab Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 04 九月 2025 18:35:15 +0800
Subject: [PATCH] Merge branch '2.0.1' of http://139.186.142.91:10010/r/productDev/parkBike into 2.0.1
---
bicycle/utils/http.interceptor.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/bicycle/utils/http.interceptor.js b/bicycle/utils/http.interceptor.js
index 636fba4..363abcb 100644
--- a/bicycle/utils/http.interceptor.js
+++ b/bicycle/utils/http.interceptor.js
@@ -13,13 +13,18 @@
// 鍝嶅簲鎷︽埅鍣�
uni.$u.http.interceptors.response.use((response) => {
+ if (response.data.code === 5113) {
+ uni.navigateTo({
+ url: '/pages/login/login'
+ });
+ return
+ }
if (response.data.code !== 200) {
uni.showToast({
title: response.data.message,
icon: "none",
duration: 2000
});
- return response.data
}
return response.data
}, (response) => {
--
Gitblit v1.9.3