From 3452e25c5312f986cdfe2431c67ca5358c4ffc61 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 17 十月 2023 18:34:58 +0800
Subject: [PATCH] 小程序

---
 bicycle/utils/http.interceptor.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/bicycle/utils/http.interceptor.js b/bicycle/utils/http.interceptor.js
index 636fba4..6dc4786 100644
--- a/bicycle/utils/http.interceptor.js
+++ b/bicycle/utils/http.interceptor.js
@@ -13,6 +13,13 @@
 	
 	// 鍝嶅簲鎷︽埅鍣�
 	uni.$u.http.interceptors.response.use((response) => {
+		console.log(response.data.code)
+		if (response.data.code === 5113) {
+			uni.navigateTo({
+				url: '/pages/login/login'
+			});
+			return
+		}
 		if (response.data.code !== 200) {
 			uni.showToast({
 				title: response.data.message,

--
Gitblit v1.9.3