wangchangsheng 3 rokov pred
rodič
commit
7835262e05

+ 22 - 0
src/main/java/com/gyee/frame/common/conf/ZmConfig.java

@@ -33,6 +33,25 @@ public class ZmConfig {
     private static List<String> mchpoint;
     private static List<String> xhkey;
     private static List<String> xhpoint;
+    private static List<String> hzjkey;
+    private static List<String> hzjpoint;
+
+    public static List<String> getHzjkey() {
+        return hzjkey;
+    }
+
+    public void setHzjkey(List<String> hzjkey) {
+        ZmConfig.hzjkey = hzjkey;
+    }
+
+    public static List<String> getHzjpoint() {
+        return hzjpoint;
+    }
+
+    public  void setHzjpoint(List<String> hzjpoint) {
+        ZmConfig.hzjpoint = hzjpoint;
+    }
+
     public static List<String> getMhskey() {
         return mhskey;
     }
@@ -41,6 +60,7 @@ public class ZmConfig {
         return nsskey;
     }
 
+
     public  void setNsskey(List<String> nsskey) {
         ZmConfig.nsskey = nsskey;
     }
@@ -192,4 +212,6 @@ public class ZmConfig {
     public  void setMhspoint(List<String> mhspoint) {
         ZmConfig.mhspoint = mhspoint;
     }
+
+
 }

+ 4 - 0
src/main/java/com/gyee/frame/service/websocket/GeneralAppearancePushService.java

@@ -172,6 +172,10 @@ public class GeneralAppearancePushService {
                     namels= ZmConfig.getXhkey();
                     valuels= ZmConfig.getXhpoint();
                     break;
+                case "HZJ_GDC":
+                    namels= ZmConfig.getHzjkey();
+                    valuels= ZmConfig.getHzjpoint();
+                    break;
 
                 default:
 

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 2 - 1
src/main/resources/application.yml