*
lsh
2025-10-22 41e4860f065a13b00441deff45455b62d3787e2c
src/main/java/com/zy/core/MainProcess.java
@@ -74,13 +74,25 @@
    }
    private void licenseThreadRun(){
        int i = 0;
        while (true) {
            try{
                Thread.sleep(60*60*1000L);
                // 系统运行状态判断
                if (!SystemProperties.WCS_RUNNING_STATUS.get()) {
                    continue;
                }
                log.info("++++++++ 开始验证许可证 ++++++++");
                if (!mainService.licenseVerify()){
                    SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
                    log.info("++++++++ 验证许可证失败 ++++++++");
                    if (i>6){
                        SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
                        log.info("++++++++ 验证许可证失败 ++++++++");
                        i = 0;
                    } else {
                        i++;
                    }
                } else {
//                    SystemProperties.WCS_RUNNING_STATUS.set(Boolean.TRUE);
                    log.info("++++++++ 验证许可证成功 ++++++++");