From 41a4b22ec3123342bb608ff7f29687ecdb527e80 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 06 八月 2024 15:52:51 +0800
Subject: [PATCH] update http请求提醒

---
 manifest.json   |    2 +-
 plugins/http.js |    9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/manifest.json b/manifest.json
index 2848179..782394c 100644
--- a/manifest.json
+++ b/manifest.json
@@ -49,7 +49,7 @@
     "quickapp" : {},
     /* 快应用特有相关 */
     "mp-weixin" : {
-        "appid" : "wx1441324401626290",
+        "appid" : "wx6d0ecc4e18710458",
         "setting" : {
             "urlCheck" : false,
             "es6" : true,
diff --git a/plugins/http.js b/plugins/http.js
index 4606465..d608efb 100644
--- a/plugins/http.js
+++ b/plugins/http.js
@@ -181,7 +181,14 @@
 							code: 500,
 							msg: 'Internal Server Error'
 						})
-					} else {
+					} else if (res.statusCode === 502) {
+						message.showToast('服务更新升级中,请稍等一分钟左右')
+						reject({
+							data: null,
+							code: 502,
+							msg: '服务更新升级中,请稍等一分钟左右'
+						})
+					}else {
 						message.showToast('其他错误')
 						reject({
 							data: null,

--
Gitblit v1.9.3