| src/main/java/com/zy/system/entity/license/LicenseManagerHolder.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/main/java/com/zy/system/timer/LicenseTimer.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/zy/system/entity/license/LicenseManagerHolder.java
@@ -11,9 +11,6 @@ if (LICENSE_MANAGER == null) { synchronized (LicenseManagerHolder.class) { if (LICENSE_MANAGER == null) { if (param == null) { throw new IllegalStateException("LicenseParam must not be null"); } LICENSE_MANAGER = new CustomLicenseManager(param); } } src/main/java/com/zy/system/timer/LicenseTimer.java
@@ -12,7 +12,7 @@ private static int LICENSE_DAYS = 0;//许可证天数 //每天晚上11点更新系统激活状态 @Scheduled(cron = "0 0 23 * * ? ") @Scheduled(cron = "0 0 9 * * ? ") public void timer() { // System.out.println(SYSTEM_SUPPORT); //验证许可证是否有效