From 7ab7cb61536d59514d90b930fba0c5e2cef8f5ce Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 03 九月 2025 09:01:43 +0800
Subject: [PATCH] 许可证到期提醒,系统30分钟无操作下线账号
---
src/main/java/com/zy/system/entity/license/LicenseCheckListener.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java b/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
index 1659df2..143bcec 100644
--- a/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
+++ b/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
@@ -53,14 +53,14 @@
public void onApplicationEvent(ContextRefreshedEvent event) {
//root application context 娌℃湁parent
ApplicationContext context = event.getApplicationContext().getParent();
- if(context == null){
+ if (context == null) {
loadLicense();
}
}
//鍔犺浇璇佷功
public boolean loadLicense() {
- if(!Cools.isEmpty(licensePath)){
+ if (!Cools.isEmpty(licensePath)) {
logger.info("++++++++ 寮�濮嬪姞杞借鍙瘉 ++++++++");
try {
--
Gitblit v1.9.1