From 9e1e058b057fc6ef0a9baf636f230c21f1282797 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 07 七月 2025 15:26:23 +0800
Subject: [PATCH] ss

---
 server/src/main/java/com/doumee/core/constants/Constants.java |   42 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 41 insertions(+), 1 deletions(-)

diff --git a/server/src/main/java/com/doumee/core/constants/Constants.java b/server/src/main/java/com/doumee/core/constants/Constants.java
index 6e116d7..60f38a3 100644
--- a/server/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/src/main/java/com/doumee/core/constants/Constants.java
@@ -53,6 +53,8 @@
     public static final Integer FOUR = 4;
     public static final Integer SIX = 6;
     public static final Integer FIVE = 5;
+    public static final String WEB_DOMAIN = "WEB_DOMAIN";
+    public static final String STATIC_PAGES_PATH ="STATIC_PAGES_PATH" ;
     public static boolean WORKORDER_SHE_EMAIL_SENDING = false;
     public static  boolean DEALING_COMPANY_SYNC = false ;
     public static  boolean DEALING_MEMBER_SYNC = false ;
@@ -60,6 +62,45 @@
     public static final String WORKORDER_LOG_FILE_PATH ="WORKORDER_LOG_FILE_PATH" ;
 
     public static final String REDIS_TOKEN_KEY = "token_";
+
+    /**
+     * 鍒嗙墖鐘舵��
+     */
+    @Getter
+    public enum PageIndex {
+        defaultPage(  -1, "榛樿椤�","default.html","default.html"),
+        index(  0, "棣栭〉","index.html","index.html"),
+        zhxt(  1, "鏅烘収绯荤粺涓�绾ч〉","intelligent_system.html","intelligent_system.html"),
+        zhxt2(  2, "鏅烘収鍦洪浜岀骇椤�","index.html","index.html"),
+        about(  3, "鍏充簬鎴戜滑","about.html","about.html"),
+        operation(  4, "娓犻亾鍚堜綔","operation.html","operation.html"),
+        dynamics(  5, "鏈�鏂板姩鎬�","dynamics.html","dynamics.html"),
+        alot(  6, "alot鐗╄仈","alot.html","alot.html"),
+        dynamicsDetail(  7, "鏈�鏂板姩鎬佽鎯�","dynamics_details.html","dynamics/${id}.html"),
+        solution(  8, "瑙e喅鏂规","solution.html","solution.html"),
+        casesDetail(  9, "瀹㈡埛妗堜緥璇︽儏椤�","case_details.html","cases/${id}.html");
+        private int key;
+        private String name;
+        private  String template;
+        private  String html;
+
+        PageIndex(int key, String name,String template,String html) {
+            this.html = html;
+            this.key = key;
+            this.name = name;
+            this.template = template;
+        }
+        public static PageIndex getObj(int index) {
+            for (PageIndex c : PageIndex.values()) {
+                if (c.getKey() == index) {
+                    return c;
+                }
+            }
+            return defaultPage;
+        }
+
+
+    }
     public interface   uploadType{
         String blob = "blob";
         String ftp = "ftp";
@@ -152,7 +193,6 @@
             private int code;
             private String remark;
         }
-
         /**
          * 鍒嗙墖鐘舵��
          */

--
Gitblit v1.9.3