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 50 8 * * ? ") public void timer() { // System.out.println(SYSTEM_SUPPORT); //验证许可证是否有效 @@ -26,7 +26,7 @@ } public void setSystemSupport(boolean systemSupport) { SYSTEM_SUPPORT = true; // systemSupport; SYSTEM_SUPPORT = systemSupport; // systemSupport; } public int getLicenseDays() {