From c8b32b8bca79a116cfab70eb8c389907b664c9ca Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 23 四月 2025 10:43:14 +0800
Subject: [PATCH] 提交

---
 h5/utils/http.interceptor.js |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/h5/utils/http.interceptor.js b/h5/utils/http.interceptor.js
index 52941c5..88bc070 100644
--- a/h5/utils/http.interceptor.js
+++ b/h5/utils/http.interceptor.js
@@ -30,6 +30,7 @@
 		if (response.data.code === 5112) {
 			uni.showToast({
 				title: '鐧诲綍杩囨湡锛屾鍦ㄩ噸鏂拌烦杞巿鏉�',
+				icon: 'none',
 				duration: 2000,
 				success() {
 					setTimeout(() => {
@@ -50,16 +51,17 @@
 				duration: 2000
 			});
 		}
-		// if (response.data.message) {
-		// 	const tm = response.data.message
-		// 	const list = tm.split(' ')
-		// 	let msg = list[0]
-		// 	if (list.length > 1 && response.data.data) {
-		// 	  msg = decryptedData(list[1], list[0])
-		// 	  response.data.data = decryptedData(list[1], response.data.data)
-		// 	  response.data.message = msg
-		// 	}
-		// }
+		if (response.data.message) {
+			const tm = response.data.message
+			const list = tm.split(' ')
+			let msg = list[0]
+			if (list.length > 1 && response.data.data) {
+			  msg = decryptedData(list[1], list[0])
+			  response.data.data = decryptedData(list[1], response.data.data)
+			  console.log(response.data.data)
+			  response.data.message = msg
+			}
+		}
 		return response.data;
 	}, (response) => {
 		return Promise.reject(response)

--
Gitblit v1.9.3