自动化立体仓库 - WMS系统
zyx
2024-03-06 ce6ddedce8c91482e6a4d6b8e015260d3a52e6a1
src/main/java/com/zy/system/entity/license/CustomLicenseManager.java
@@ -134,12 +134,12 @@
        if(expectedCheckModel != null && serverCheckModel != null){
            //校验IP地址
            if(!checkIpAddress(expectedCheckModel.getIpAddress(),serverCheckModel.getIpAddress())){
                throw new LicenseContentException("当前服务器的IP没在授权范围内");
                //throw new LicenseContentException("当前服务器的IP没在授权范围内");
            }
            //校验Mac地址
            if(!checkIpAddress(expectedCheckModel.getMacAddress(),serverCheckModel.getMacAddress())){
                throw new LicenseContentException("当前服务器的Mac地址没在授权范围内");
                //throw new LicenseContentException("当前服务器的Mac地址没在授权范围内");
            }
            //校验主板序列号