From d4addf82cbc987e5322e787adffd09b3fc2da979 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 23 九月 2025 16:40:49 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
server/src/main/java/com/doumee/core/constants/Constants.java | 84 ++++++++++++++++++++++++++++++++++++++---
1 files changed, 77 insertions(+), 7 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 f5d4745..7a28e68 100644
--- a/server/src/main/java/com/doumee/core/constants/Constants.java
+++ b/server/src/main/java/com/doumee/core/constants/Constants.java
@@ -42,6 +42,8 @@
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 YQLINKS ="YQLINKS" ;
+ public static final String QYEMAIL ="QYEMAIL" ;
public static final String FOOT_WORDS ="FOOT_WORDS" ;
@@ -54,7 +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 STATIC_PAGES_PATH_MOBILE ="STATIC_PAGES_PATH_MOBILE" ;
public static final String STATIC_PAGES_PATH ="STATIC_PAGES_PATH" ;
+ public static final String GIT_CODR_URL = "GIT_CODR_URL";
public static boolean WORKORDER_SHE_EMAIL_SENDING = false;
public static boolean DEALING_COMPANY_SYNC = false ;
public static boolean DEALING_MEMBER_SYNC = false ;
@@ -63,22 +68,40 @@
public static final String REDIS_TOKEN_KEY = "token_";
- /**
- * 鍒嗙墖鐘舵��
- */
@Getter
public enum PageIndex {
defaultPage( -1, "榛樿椤�", "default.html","default.html",-1),
index( 0, "棣栭〉","index.html","index.html",0),
- zhxt( 1, "鏅烘収绯荤粺涓�绾ч〉","intelligent_system.html","intelligent_system.html",1),
- zhxt2( 2, "鏅烘収鍦洪浜岀骇椤�","index.html","index.html",1),
+ 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);
+ 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),
+ sozhtycg( 15, "瑙e喅鏂规-缁煎悎浣撹偛鍦洪锛�3绾э級","sozhtycg.html","sozhtycg.html",2),
+ soqmjszx( 16, "瑙e喅鏂规-鍏ㄦ皯鍋ヨ韩涓績锛�3绾э級","soqmjszx.html","soqmjszx.html",2),
+ soxytycg( 17, "瑙e喅鏂规-鏍″洯浣撹偛鍦洪锛�3绾э級","soxytycg.html","soxytycg.html",2),
+ sobxtycg( 18, "瑙e喅鏂规-鍐伴洩浣撹偛鍦洪锛�3绾э級","sobxtycg.html","sobxtycg.html",2),
+ soyytycg( 19, "瑙e喅鏂规-娓告吵浣撹偛鍦洪锛�3绾э級","soyytycg.html","soyytycg.html",2),
+ sozhtygy( 20, "瑙e喅鏂规-鏅烘収浣撹偛鍏洯锛�3绾э級","sozhtygy.html","sozhtygy.html",2),
+ so24zncg( 21, "瑙e喅鏂规-24H鏅鸿兘鍦洪锛�3绾э級","so24zncg.html","so24zncg.html",2),
+ sowrzscg( 22, "瑙e喅鏂规-鏃犱汉鍊煎畧鍦洪锛�3绾э級","sowrzscg.html","sowrzscg.html",2),
+ sotylsyypt( 23, "瑙e喅鏂规-浣撹偛杩為攣杩愯惀骞冲彴锛�3绾э級","sotylsyypt.html","sotylsyypt.html",2),
+ sossjsztypt( 24, "瑙e喅鏂规-鐪佸競绾ф暟鏅轰綋鑲插钩鍙帮紙3绾э級","sossjsztypt.html","sossjsztypt.html",2),
+ soqzly( 25, "瑙e喅鏂规-浜插瓙涔愬洯锛�3绾э級","soqzly.html","soqzly.html",2),
+ solyjq( 26, "瑙e喅鏂规-鏃呮父鏅尯锛�3绾э級","solyjq.html","solyjq.html",2),
+ sogrwhg( 27, "瑙e喅鏂规-宸ヤ汉鏂囧寲瀹紙3绾э級","sogrwhg.html","sogrwhg.html",2),
+ soqyghg( 28, "瑙e喅鏂规-浼佷笟宸ヤ細棣嗭紙3绾э級","soqyghg.html","soqyghg.html",2),
+ sowyycg( 29, "瑙e喅鏂规-鏂囪壓婕斿嚭棣嗭紙3绾э級","sowyycg.html","sowyycg.html",2) ;
+
private int key;
private String name;
private String template;
@@ -100,8 +123,55 @@
}
return defaultPage;
}
+ }
+ @Getter
+ public enum MobilePageIndex {
+ defaultPage( -1, "榛樿椤�", "defaultMobile.html","defaultMobile.html",-1),
+ index( 0, "棣栭〉","indexMobile.html","index.html",0),
+ intelligentSystemMobile( 1, "鏅烘収鍦洪杩愯惀绯荤粺","intelligentSystemMobile.html","intelligentSystemMobile.html",1),
+ intelligentSystemYwMobile( 2, "鏅烘収鍦洪杩愮淮绯荤粺","intelligentSystemYwMobile.html","intelligentSystemYwMobile.html",1),
+ sportsVenueMobile( 3, "缁煎悎浣撹偛鍦洪","sportsVenueMobile.html","sportsVenueMobile.html",5),
+ nationalFitnessMobile( 4, "鍏ㄦ皯鍋ヨ韩涓績","nationalFitnessMobile.html","nationalFitnessMobile.html",6),
+ campusSportsMobile( 5, "鏍″洯浣撹偛鍦洪","campusSportsMobile.html","campusSportsMobile.html",4),
+ IceSnowSportsMobile( 6, "鍐伴洩浣撹偛鍦洪","IceSnowSportsMobile.html","IceSnowSportsMobile.html",3),
+ swimmingSportsMobile( 7, "娓告吵浣撹偛鍦洪","swimmingSportsMobile.html","swimmingSportsMobile.html",4),
+ smartSportsParkMobile( 8, "鏅烘収浣撹偛鍏洯","smartSportsParkMobile.html","smartSportsParkMobile.html",2),
+ intelligentVenueMobile( 9, "24H鏅鸿兘鍦洪","intelligentVenueMobile.html","intelligentVenueMobile.html",0),
+ unattendedMobile( 10, "鏃犱汉鍊煎畧鍦洪","unattendedMobile.html","unattendedMobile.html",2),
+ soSmartVenueMobile( 11, "瑙e喅鏂规-鏁版櫤浣撹偛鍦洪","soSmartVenueMobile.html","soSmartVenueMobile.html",2),
+ soUnmannedVenueMobile( 12, "瑙e喅鏂规-鏃犱汉鍦洪","soUnmannedVenueMobile.html","soUnmannedVenueMobile.html",2),
+ soSportsPlatformMobile( 13, "瑙e喅鏂规-鏁版櫤浣撹偛骞冲彴","soSportsPlatformMobile.html","soSportsPlatformMobile.html",2),
+ soScenicAreaMobile( 14, "瑙e喅鏂规-鏅尯&娓镐箰鍥�","soScenicAreaMobile.html","soScenicAreaMobile.html",2),
+ soSmartSpaceMobile( 15, "瑙e喅鏂规-绌洪棿鏅烘収绠$悊","soSmartSpaceMobile.html","soSmartSpaceMobile.html",2),
+ dynamicIndex( 16, "鏈�鏂板姩鎬�","dynamicMobile.html","dynamicMobile.html",4),
+ dynamicDetail( 17, "鏈�鏂板姩鎬佽鎯�","dynamicDetailMobile.html","dynamics/${id}.html",4),
+ casesDetail( 18, "瀹㈡埛妗堜緥璇︽儏椤�","case_details.html","cases/${id}.html",0),
+ cooperationMobile( 20, "娓犻亾鍚堜綔","cooperationMobile.html","cooperationMobile.html",0),
+ aboutMobile( 21, "鍏充簬鎴戜滑","aboutMobile.html","aboutMobile.html",0),
+ dynamics( 22, "鏈�鏂板姩鎬�","dynamicListMobile.html","dynamicListMobile${type}.html",4),
+ bannerDetails( 19, "棣栭〉-杞挱鍥捐鎯�","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