From 0fa14393042bf3bd7181a664203aee65d36d2e27 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Sun, 27 Apr 2025 17:49:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20license=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/wfc/common/license/runner/LicenseCheckRunner.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wfc-common/wfc-common-license/src/main/java/org/wfc/common/license/runner/LicenseCheckRunner.java b/wfc-common/wfc-common-license/src/main/java/org/wfc/common/license/runner/LicenseCheckRunner.java index 998ed54..5d13809 100644 --- a/wfc-common/wfc-common-license/src/main/java/org/wfc/common/license/runner/LicenseCheckRunner.java +++ b/wfc-common/wfc-common-license/src/main/java/org/wfc/common/license/runner/LicenseCheckRunner.java @@ -67,7 +67,7 @@ public class LicenseCheckRunner implements ApplicationRunner { // startTimer(); this.licenseProperties = licenseProperties; if (StrUtil.isNotEmpty(licenseProperties.getLicensePath())) { - install(); +// install(); try { String readMd5 = getMd5(licenseProperties.getLicensePath()); isLoad = true; @@ -135,13 +135,13 @@ public class LicenseCheckRunner implements ApplicationRunner { //对象序列化为json String jsonString = serverInfos.toJsonString(); - System.out.println("原始数据 = " + jsonString); +// System.out.println("原始数据 = " + jsonString); //加密 String encryptedJson = LicenseUtils.encrypt(jsonString); System.out.println("加密后 = " + encryptedJson); // 解密 String decryptedJson = LicenseUtils.decrypt(encryptedJson); - System.out.println("解密后 = " + decryptedJson); +// System.out.println("解密后 = " + decryptedJson); // 比较解密后的字符串与原始字符串 if (jsonString.equals(decryptedJson)) { } else {