From 9a0e2661c69fea29a0a53ecdf9e11333da9b9615 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 07 七月 2025 15:27:21 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
server/src/main/java/com/doumee/core/constants/Constants.java | 44 +++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 43 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 46e31ec..60f38a3 100644
--- a/server/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/src/main/java/com/doumee/core/constants/Constants.java
@@ -34,12 +34,14 @@
public static final String IMG_DIR = "IMG_DIR";
public static final String FILE_DIR ="FILE_DIR" ;
public static final String FOOT_IMGURL ="FOOT_IMGURL" ;
+ public static final String FOOT_IMGURL2 ="FOOT_IMGURL2" ;
public static final String LINK_PHONE ="LINK_PHONE" ;
public static final String LINK_MOBILE ="LINK_MOBILE" ;
public static final String SERVER_TIME ="SERVER_TIME" ;
public static final String ADDRESS ="ADDRESS" ;
public static final String SOLVE_SCHEME ="SOLVE_SCHEME" ;
public static final String WISDOM_SYSTEM ="WISDOM_SYSTEM" ;
+ public static final String HONORS ="HONORS" ;
public static final String FOOT_WORDS ="FOOT_WORDS" ;
@@ -51,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 ;
@@ -58,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";
@@ -150,7 +193,6 @@
private int code;
private String remark;
}
-
/**
* 鍒嗙墖鐘舵��
*/
--
Gitblit v1.9.3