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 {