From 6d5c3dee0d97798f70bf965e48c3a782b3df9e7d Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期三, 10 七月 2024 10:48:25 +0800
Subject: [PATCH] Merge branch 'hwh' into Liudl

---
 HTML/views/index.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HTML/views/index.html b/HTML/views/index.html
index ba720fe..7b2aa69 100644
--- a/HTML/views/index.html
+++ b/HTML/views/index.html
@@ -167,7 +167,7 @@
 				}
 				
 				sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
-					if (res.code == 0) { //鎴愬姛
+					if (res.code == 200) { //鎴愬姛
 						var list = res.data.filter(item => item.level == "0");
 						 
 						if (list) {
@@ -212,7 +212,7 @@
 				});		
 
 				sendData(IP + "/Basis/IsPassWordTime", "", 'get', function(res) {					
-					if (res.code == 0 && res.data == 1) { //鎴愬姛
+					if (res.code == 200 && res.data == 1) { //鎴愬姛
 						layer.open({
 							type: 2,
 							title: '瀵嗙爜宸茶繃鏈燂紝璇蜂慨鏀瑰瘑鐮�',

--
Gitblit v1.8.0