From c60ff5a68d23853978a5f53c36867c6a2195ceca Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期六, 07 六月 2025 09:38:11 +0800
Subject: [PATCH] *

---
 src/main/java/com/zy/core/ServerBootstrap.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/core/ServerBootstrap.java b/src/main/java/com/zy/core/ServerBootstrap.java
index 54bfe7d..28352cb 100644
--- a/src/main/java/com/zy/core/ServerBootstrap.java
+++ b/src/main/java/com/zy/core/ServerBootstrap.java
@@ -139,6 +139,7 @@
         public void licenseVerify() {
             int licenseVerifySignCount = 0;
             boolean licenseVerifySign = false;
+            boolean systemSign = SystemProperties.WCS_RUNNING_STATUS.get();
             if (!new LicenseVerify().verify()){
                 for (licenseVerifySignCount = 0;!licenseVerifySign && licenseVerifySignCount<10; licenseVerifySignCount++){
                     try{
@@ -155,9 +156,12 @@
                 }
                 if (licenseVerifySignCount>10 && !licenseVerifySign){
                     SystemProperties.WCS_RUNNING_STATUS.set(Boolean.FALSE);
+                } else {
+                    if (systemSign){
+                        SystemProperties.WCS_RUNNING_STATUS.set(Boolean.TRUE);
+                    }
                 }
             }
         }
     }
-
 }

--
Gitblit v1.9.1