zy-asrs-openapi/src/main/resources/application.yml
@@ -43,12 +43,4 @@ path: /stock/out/@pom.build.finalName@/logs super: pwd: xltys1995 #License相关配置 license: subject: nbncasrs publicAlias: publicCert storePass: public_zhongyang_123456789 licensePath: license.lic publicKeysStorePath: publicCerts.keystore pwd: xltys1995 zy-asrs-wms/src/main/java/com/zy/asrs/wms/license/WmsLicenseCheckListener.java
File was renamed from zy-asrs-common/src/main/java/com/zy/asrs/common/sys/entity/license/LicenseCheckListener.java @@ -1,5 +1,7 @@ package com.zy.asrs.common.sys.entity.license; package com.zy.asrs.wms.license; import com.zy.asrs.common.sys.entity.license.LicenseVerify; import com.zy.asrs.common.sys.entity.license.LicenseVerifyParam; import com.zy.asrs.common.timer.LicenseTimer; import com.zy.asrs.framework.common.Cools; import de.schlichtherle.license.LicenseContent; @@ -18,8 +20,8 @@ * 在项目启动时安装证书 */ @Component public class LicenseCheckListener implements ApplicationListener<ContextRefreshedEvent> { private static Logger logger = LogManager.getLogger(LicenseCheckListener.class); public class WmsLicenseCheckListener implements ApplicationListener<ContextRefreshedEvent> { private static Logger logger = LogManager.getLogger(WmsLicenseCheckListener.class); /** * 证书subject zy-asrs-wms/src/main/java/com/zy/asrs/wms/license/controller/LicenseCreatorController.java
File was renamed from zy-asrs-common/src/main/java/com/zy/asrs/common/sys/controller/LicenseCreatorController.java @@ -1,8 +1,9 @@ package com.zy.asrs.common.sys.controller; package com.zy.asrs.wms.license.controller; import com.zy.asrs.common.sys.entity.license.*; import com.zy.asrs.framework.common.Cools; import com.zy.asrs.framework.common.R; import com.zy.asrs.wms.license.WmsLicenseCheckListener; import de.schlichtherle.license.LicenseContent; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; @@ -28,7 +29,7 @@ private String licensePath; @Autowired private LicenseCheckListener licenseCheckListener; private WmsLicenseCheckListener licenseCheckListener; /** * 获取服务器硬件信息