自动化立体仓库 - WMS系统
13
zhang
1 天以前 82de5a307466894bbb0258f8a63a26a7bb96d80d
src/main/java/com/zy/system/entity/license/LicenseCheckListener.java
@@ -61,14 +61,14 @@
    public void onApplicationEvent(ContextRefreshedEvent event) {
        //root application context 没有parent
        ApplicationContext context = event.getApplicationContext().getParent();
        if(context == null){
        if (context == null) {
            loadLicense();
        }
    }
    //加载证书
    public boolean loadLicense() {
        if(!Cools.isEmpty(licensePath)){
        if (!Cools.isEmpty(licensePath)) {
            logger.info("++++++++ 开始加载许可证 ++++++++");
            try {
@@ -97,7 +97,7 @@
                logger.info("++++++++ 许可证加载结束 ++++++++");
                licenseTimer.setSystemSupport(install!=null);
                licenseTimer.setSystemSupport(install != null);
                if (install != null) {
                    Date start = new Date();