自动化立体仓库 - WMS系统
#
zzgtfwq
4 天以前 8f74af0d32e39326d106cc7fb5dfc8b1d1501abc
src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
@@ -84,9 +84,9 @@
                param.setStorePass(storePass);
                param.setLicensePath(licensePath);
                param.setPublicKeysStorePath(publicKeysStorePath);
//
                LicenseVerify licenseVerify = new LicenseVerify();
//
                LicenseInfos latestLicense = licenseInfosService.getLatestLicense();
                if (latestLicense == null) {
                    logger.info("许可证不存在");
@@ -96,9 +96,11 @@
                //安装证书
                LicenseContent install = licenseVerify.install(param, latestLicense.getLicense());
                logger.info("++++++++ 许可证加载结束 ++++++++");
                licenseTimer.setSystemSupport(install!=null);
//                logger.info("++++++++ 许可证加载结束 ++++++++");
//
//                licenseTimer.setSystemSupport(true);
//                licenseTimer.setLicenseDays(11);
//                return true;
                if (install != null) {
                    Date start = new Date();
@@ -109,8 +111,8 @@
                    int day = (int) (num / 24 / 60 / 60 / 1000);
                    licenseTimer.setLicenseDays(day);
                }
//
//
                return install != null;
            } catch (Exception e) {
                e.printStackTrace();