From a836f03a5d1fbfa81e147d09ffdfa87ba3975c13 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 18 三月 2025 16:45:02 +0800
Subject: [PATCH] 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