From d5449236ef0b3adafb3e4cc872f50479efa0ce7b Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期二, 11 三月 2025 16:10:29 +0800 Subject: [PATCH] 配置信息 --- 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