| | |
| | | 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" ; |
| | | |
| | | |
| | |
| | | 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 ; |
| | |
| | | |
| | | 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, "解决方案","solution.html","solution.html"), |
| | | casesDetail( 9, "客户案例详情页","case_details.html","cases/${id}.html"); |
| | | 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, "智慧场馆运维系统","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, "解决方案-数智体育场馆","solution.html","solution.html",2), |
| | | casesDetail( 9, "客户案例详情页","case_details.html","cases/${id}.html",0), |
| | | solutioMeadowlands( 10, "解决方案-24H智能场馆","solution-meadowlands.html","solution-meadowlands.html",2), |
| | | solutionSport( 11, "解决方案-景区&游乐园","solution-sport.html","solution-sport.html",2), |
| | | solutionScenicSpot( 12, "解决方案-数智体育平台","solution-scenicSpot.html","solution-scenicSpot.html",2), |
| | | solutionSpace( 13, "解决方案-空间智慧管理","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; |
| | | |
| | | PageIndex(int key, String name,String template,String html) { |
| | | PageIndex(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 PageIndex getObj(int index) { |
| | | for (PageIndex c : PageIndex.values()) { |
| | |
| | | } |
| | | 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, "解决方案-数智体育场馆","solution.html","solution.html",2), |
| | | casesDetail( 9, "客户案例详情页","case_details.html","cases/${id}.html",0), |
| | | solutioMeadowlands( 10, "解决方案-24H智能场馆","solution-meadowlands.html","solution-meadowlands.html",2), |
| | | solutionSport( 11, "解决方案-景区&游乐园","solution-sport.html","solution-sport.html",2), |
| | | solutionScenicSpot( 12, "解决方案-数智体育平台","solution-scenicSpot.html","solution-scenicSpot.html",2), |
| | | solutionSpace( 13, "解决方案-空间智慧管理","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"; |