ss
jiangping
2025-07-07 9e1e058b057fc6ef0a9baf636f230c21f1282797
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, "解决方案","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;
        }
        /**
         * 分片状态
         */