From 3516f02277035cdc7ff137422709b16efe97ca4a Mon Sep 17 00:00:00 2001
From: 15832144755 <67030627+15832144755@users.noreply.github.com>
Date: 星期五, 27 八月 2021 11:27:21 +0800
Subject: [PATCH] 8.27

---
 src/main/webapp/hxzk/anchor/anchorManagement.jsp |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/hxzk/anchor/anchorManagement.jsp b/src/main/webapp/hxzk/anchor/anchorManagement.jsp
index 3a12a9b..2cd6d28 100644
--- a/src/main/webapp/hxzk/anchor/anchorManagement.jsp
+++ b/src/main/webapp/hxzk/anchor/anchorManagement.jsp
@@ -7,7 +7,7 @@
 				<meta charset="utf-8">
 				<meta http-equiv="X-UA-Compatible" content="IE=edge">
 				<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">
-				<title></title>
+				<title>鍩虹珯绠$悊</title>
 				<link href="/hxzkoa/hxzk/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
 				<link href="/hxzkoa/hxzk/assets/img/favicon.ico" rel="icon" type="image/x-icon" />
 				<link href="/hxzkoa/hxzk/assets/css/components/custom-modal.css" rel="stylesheet" type="text/css" />
@@ -426,7 +426,13 @@
 					<% String superuser=(String)session.getAttribute("superuser"); String
 						deleteq=(String)session.getAttribute("deleteq"); String
 						alertq=(String)session.getAttribute("alertq"); String
-						deleteall=(String)session.getAttribute("deleteall"); %>
+						deleteall=(String)session.getAttribute("deleteall");
+						String username=(String)session.getAttribute("username");
+						if(username==null || username.equals("")){
+						request.getRequestDispatcher("/hxzk/login.jsp").forward(request,response);
+						return;
+						}
+						%>
 						<input type="hidden" name="superuser" id="superuser" value="<%=superuser%>">
 						<input type="hidden" name="deleteq" id="deleteq" value="<%=deleteq%>">
 						<input type="hidden" name="alertq" id="alertq" value="<%=alertq%>">
@@ -445,8 +451,8 @@
 									},
 									dataType: "json",
 									success: function (data) {
-										title = data[0].title
-										document.title = title;
+										/* title = data[0].title
+										document.title = title; */
 									},
 								});
 								$("#page_1").addClass("active");

--
Gitblit v1.10.0