From de64b6758d486eee7cd112853fb0a9cc3af5cf42 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期三, 06 十二月 2023 09:21:33 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 server/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKConstants.java |  100 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 100 insertions(+), 0 deletions(-)

diff --git a/server/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKConstants.java b/server/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKConstants.java
new file mode 100644
index 0000000..d0145f5
--- /dev/null
+++ b/server/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKConstants.java
@@ -0,0 +1,100 @@
+package com.doumee.core.haikang.model;
+
+import com.doumee.core.utils.Constants;
+import lombok.Data;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+@Data
+public class HKConstants {
+    private Logger logger = LoggerFactory.getLogger(HKConstants.class);
+    //娴峰悍骞冲彴鏍规嵁鐜板満鐜閰嶇疆http杩樻槸https
+    public static final String RESPONSE_SUCCEE = "0";
+    public static String https ;
+    /**
+     * 鑳藉姏寮�鏀惧钩鍙扮殑缃戠珯璺緞   璺緞涓嶇敤淇敼锛屽氨鏄�/artemis
+     */
+    public static final String ARTEMIS_PATH = "/artemis";
+
+    /**
+     * 鎺ュ彛鍦板潃闆嗗悎
+     */
+    public interface InterfacePath{
+        String doorEvents = "/api/acs/v2/door/events";//闂ㄧ浜嬩欢鏌ヨ
+        String rootOrg = "/api/resource/v1/org/rootOrg";//鑾峰彇璺熺粍缁�
+        String addBatchOrg = "/api/resource/v1/org/batch/add";//鎵归噺鏂板缁勭粐
+        String delBatchOrg = "/api/resource/v1/org/batch/delete";//鎵归噺鍒犻櫎缁勭粐
+        String editOrg = "/api/resource/v1/org/single/update";//淇敼缁勭粐
+        String addUser = "/api/resource/v2/person/single/add";//娣诲姞浜哄憳
+        String addBatchUser = "/api/resource/v1/person/batch/add";//鎵归噺娣诲姞浜哄憳
+        String editUser = "/api/resource/v1/person/single/update";//淇敼浜哄憳
+        String delBatchUser = "/api/resource/v1/person/batch/delete";//鎵归噺鍒犻櫎浜哄憳
+        String addFace = "/api/resource/v1/face/single/add";//娣诲姞浜鸿劯
+        String editFace = "/api/resource/v1/face/single/update";//淇敼浜鸿劯
+        String delFace = "/api/resource/v1/face/single/delete";//鍒犻櫎浜鸿劯
+        String acsDeviceList = "/api/resource/v2/acsDevice/search";//鏌ヨ闂ㄧ璁惧鍒楄〃v2
+        String acsDeviceTimeRangeList = "/api/resource/v1/acsDevice/timeRange";//澧為噺鑾峰彇闂ㄧ璁惧鏁版嵁
+        String parkAddition = "/api/pms/v2/parkingSpace/reservations/addition";//杞︿綅棰勭害v2
+        String parkDeletion= "/api/pms/v1/parkingSpace/reservations/deletion";//杞︿綅鍙栨秷棰勭害v2
+        String carChargeAddtion= "/api/pms/v1/car/charge";//鍥哄畾杞﹀厖鍊煎寘鏈�
+        String carChargeDeletion= "/api/pms/v1/car/charge/deletion";//鍥哄畾杞﹀彇娑堝寘鏈�
+        String getParkList= "/api/resource/v1/park/parkList";//鑾峰彇鍋滆溅搴撳垪琛�
+        String getEntranceList= "/api/resource/v1/entrance/entranceList";//鑾峰彇鍑哄叆鍙e垪琛�
+        String visitAppiontment= "/api/visitor/v2/appointment";//璁垮棰勭害v2
+        String visitAppiontmentMDJ= "/api/visitor/v1/appointment/registration";//璁垮棰勭害鍏嶇櫥璁皏2
+        String visitCancel= "/api/visitor/v1/appointment/cancel";//鍙栨秷璁垮棰勭害
+        String facePicture= "/api/resource/v1/person/picture";//鎻愬彇鐢ㄦ埛浜鸿劯鐓х墖
+        String privilegeGroup= "/api/visitor/v1/privilege/group";//鏌ヨ璁垮鏉冮檺缁�
+    }
+
+    /**
+     * 椤旇壊鏋氫妇
+     */
+    public  enum Colors {
+
+        SYSTEM(0, "绯荤粺鐢ㄦ埛"  )
+        ;
+        // 鎴愬憳鍙橀噺
+        private String name;
+        private int key;
+
+        // 鏋勯�犳柟娉�
+        Colors(int key, String name ) {
+            this.name = name;
+            this.key = key;
+        }
+
+        // 鏅�氭柟娉�
+        public static String getName(int index) {
+            for (Constants.UserType c : Constants.UserType.values()) {
+                if (c.getKey() == index) {
+                    return c.getName();
+                }
+            }
+            return null;
+        }
+
+
+        // get set 鏂规硶
+        public String getName() {
+            return name;
+        }
+
+        public void setName(String name) {
+            this.name = name;
+        }
+
+        public int getKey() {
+            return key;
+        }
+
+        public void setKey(int key) {
+            this.key = key;
+        }
+
+    }
+
+
+
+}
+

--
Gitblit v1.9.3