From 29bd10e6981aa5cfcd087dd9695f3d926925f847 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 23 十月 2025 16:44:31 +0800
Subject: [PATCH] 13
---
src/main/java/com/zy/system/entity/license/LicenseCheckListener.java | 6 +++---
1 files changed, 3 insertions(+), 3 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 cf79568..67a8dbb 100644
--- a/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
+++ b/src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
@@ -61,14 +61,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 {
@@ -97,7 +97,7 @@
logger.info("++++++++ 璁稿彲璇佸姞杞界粨鏉� ++++++++");
- licenseTimer.setSystemSupport(install!=null);
+ licenseTimer.setSystemSupport(install != null);
if (install != null) {
Date start = new Date();
--
Gitblit v1.9.1