From a44f2c3b5db92069ea2813ecf8cb12a6ab3b2203 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 19 五月 2022 17:04:07 +0800
Subject: [PATCH] 管理员权限雁验证

---
 app/src/main/resources/static/admin/js/http.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app/src/main/resources/static/7aed59d33d777100/js/http.js b/app/src/main/resources/static/admin/js/http.js
similarity index 89%
rename from app/src/main/resources/static/7aed59d33d777100/js/http.js
rename to app/src/main/resources/static/admin/js/http.js
index c00f47c..808a9e2 100644
--- a/app/src/main/resources/static/7aed59d33d777100/js/http.js
+++ b/app/src/main/resources/static/admin/js/http.js
@@ -53,8 +53,10 @@
         //鏈櫥褰�
         if (e.status == 401) {
             //鎵撳紑鐧诲綍绐楀彛
-            xadmin.open('鐧诲綍', '/7aed59d33d777100/login.html?from=page', 500, 530)
-        }else{
+            xadmin.open('鐧诲綍', '/admin/xrtfgp/login.html?from=page', 500, 530)
+        } else if (e.status == 403) {
+            layer.msg("鏃犳搷浣滄潈闄�");
+        } else {
             layer.msg("缃戠粶璇锋眰鍑洪敊");
         }
     }

--
Gitblit v1.8.0