From 61247957fe4d94591e37d75eda6889f06c0cb9c1 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 19 九月 2025 17:47:27 +0800
Subject: [PATCH] ss

---
 server/src/main/java/com/doumee/core/constants/Constants.java |   46 +++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 43 insertions(+), 3 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 6fe2279..6a01626 100644
--- a/server/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/src/main/java/com/doumee/core/constants/Constants.java
@@ -56,6 +56,10 @@
     public static final Integer SIX = 6;
     public static final Integer FIVE = 5;
     public static final String WEB_DOMAIN = "WEB_DOMAIN";
+    public static final String WEB_DOMAIN_MOBILE = "WEB_DOMAIN_MOBILE";
+    public static final String PAGE_TEMPLATES_PATH = "PAGE_TEMPLATES_PATH";
+    public static final String PAGE_TEMPLATES_PATH_MOBILE = "PAGE_TEMPLATES_PATH_MOBILE";
+    public static final String STATIC_PAGES_PATH_MOBILE ="STATIC_PAGES_PATH_MOBILE" ;
     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 ;
@@ -65,9 +69,6 @@
 
     public static final String REDIS_TOKEN_KEY = "token_";
 
-    /**
-     * 鍒嗙墖鐘舵��
-     */
     @Getter
     public enum PageIndex {
         defaultPage(  -1, "榛樿椤�", "default.html","default.html",-1),
@@ -108,8 +109,47 @@
             }
             return defaultPage;
         }
+    }
+    @Getter
+    public enum MobilePageIndex {
+        defaultPage(  -1, "榛樿椤�", "default.html","default.html",-1),
+        index(  0, "棣栭〉","indexMobile.html","index.html",0),
+        zhxt(  1, "鏅烘収鍦洪杩愯惀绯荤粺","intelligent_system.html","intelligent_system.html",1),
+        zhxt2(  2, "鏅烘収鍦洪杩愮淮绯荤粺","operation.html","operation.html",1),
+        about(  3, "鍏充簬鎴戜滑","about.html","about.html",5),
+        operation(  4, "娓犻亾鍚堜綔","aboutChannel.html","aboutChannel.html",6),
+        dynamics(  5, "鏈�鏂板姩鎬�","dynamics.html","dynamics.html",4),
+        alot(  6, "alot鐗╄仈","alot.html","alot.html",3),
+        dynamicsDetail(  7, "鏈�鏂板姩鎬佽鎯�","dynamics_details.html","dynamics/${id}.html",4),
+        solution(  8, "瑙e喅鏂规-鏁版櫤浣撹偛鍦洪","solution.html","solution.html",2),
+        casesDetail(  9, "瀹㈡埛妗堜緥璇︽儏椤�","case_details.html","cases/${id}.html",0),
+        solutioMeadowlands(  10, "瑙e喅鏂规-24H鏅鸿兘鍦洪","solution-meadowlands.html","solution-meadowlands.html",2),
+        solutionSport(  11, "瑙e喅鏂规-鏅尯&娓镐箰鍥�","solution-sport.html","solution-sport.html",2),
+        solutionScenicSpot(  12, "瑙e喅鏂规-鏁版櫤浣撹偛骞冲彴","solution-scenicSpot.html","solution-scenicSpot.html",2),
+        solutionSpace(  13, "瑙e喅鏂规-绌洪棿鏅烘収绠$悊","solution-space.html","solution-space.html",2),
+        bannerDetails(  14, "棣栭〉-杞挱鍥捐鎯�","banner_details.html","banners/${id}.html",0);
 
+        private int key;
+        private String name;
+        private  String template;
+        private  String html;
+        private int navIndex;
 
+        MobilePageIndex(int key, String name,String template,String html,int navIndex) {
+            this.html = html;
+            this.key = key;
+            this.name = name;
+            this.template = template;
+            this.navIndex = navIndex;
+        }
+        public static MobilePageIndex getObj(int index) {
+            for (MobilePageIndex c : MobilePageIndex.values()) {
+                if (c.getKey() == index) {
+                    return c;
+                }
+            }
+            return defaultPage;
+        }
     }
     public interface   uploadType{
         String blob = "blob";

--
Gitblit v1.9.3