From e96322043649fdc8fc02d886ac19cf8342a43248 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期一, 04 十一月 2024 11:37:13 +0800
Subject: [PATCH] 在登录时判断用户密码过期需要修改时,由于还未登录去获取当前Session的用户时,是null,所以导致报错,增加如果为空,直接使用界面传的用户。
---
Source/Common/PLTCommon/src/com/vci/common/log/ServerWithLog4j.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Source/Common/PLTCommon/src/com/vci/common/log/ServerWithLog4j.java b/Source/Common/PLTCommon/src/com/vci/common/log/ServerWithLog4j.java
index 6dfb72a..d7d80f7 100644
--- a/Source/Common/PLTCommon/src/com/vci/common/log/ServerWithLog4j.java
+++ b/Source/Common/PLTCommon/src/com/vci/common/log/ServerWithLog4j.java
@@ -34,6 +34,9 @@
static {
try {
File file = new File(log4j_properties_dev);
+
+ System.out.println("=====log4j_properties_dev = " + file.getAbsolutePath());
+
String loadFrom = "";
if(file.exists()){
--
Gitblit v1.9.3